Commit Graph
3 Commits
Author SHA1 Message Date
Hutson BettsandGitHub 46e0c05e7e [ubuntu] feat(docker): authenticate using DockerHub credentials (#2548)
Ubuntu builds, by default, pull images anonymously from the
official DockerHub. DockerHub rate limits requests from
anonymous and unpaid accounts:
- https://docs.docker.com/docker-hub/download-rate-limit/

When those rate limits are reached the Packer build will
fail with an error indicated the rate limit has been
reached.

Add support for providing credentials for a paid
account that can be used by the Docker setup steps to
authenticate when pulling images from DockerHub, thereby
avoiding the rate limit.

Related to #2094
2021-01-28 13:31:45 +03:00
Hutson Betts c49245208d fix(win): use correct case sensitive file name
File name was submitted with `CLI` in `AzureDevSpacesCLI` capitalized,
but the script is invoked as a provisioner using the lower-case `Cli`
form as seen in `AzureDevSpacesCli`.

Renaming the file to use the lower-case form to match other provisioning
scripts used in the Windows builds.

Issue introduced in commit 932d0f36cd
2020-09-25 12:54:14 -05:00
Hutson Betts 42827c5d7f refactor: auto format JSON using VSC 2020-09-21 13:24:05 -05:00