mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
89276c679e
Add some missing dependencies in the Dockerfile:
- apt-utils for apt-ftparchive.conf
- bsdmainutils for our use of the column command in
hack/make/generate-index-listing
We also ensure that the docker daemon is started before calling
release-deb or release-rpm, since .detect-daemon-osarch, which is sourced
in each of them, requires the daemon to be running.
This commit also gets completely rid of s3cmd and fixes references to
AWS_* environment variables (changing from AWS_ACCESS_KEY to
AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to AWS_SECRET_ACCESS_KEY) in order
to please awscli. Also AWS_DEFAULT_REGION is now important to specify,
the default has been set to the region used by get.docker.com and
test.docker.com.
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
.build-deb | ||
.build-rpm | ||
.resources-windows | ||
.detect-daemon-osarch | ||
.ensure-emptyfs | ||
.ensure-frozen-images | ||
.ensure-frozen-images-windows | ||
.ensure-httpserver | ||
.ensure-nnp-test | ||
.ensure-syscall-test | ||
.go-autogen | ||
.integration-daemon-setup | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.validate | ||
binary | ||
build-deb | ||
build-rpm | ||
clean-apt-repo | ||
clean-yum-repo | ||
cover | ||
cross | ||
dynbinary | ||
dyngccgo | ||
gccgo | ||
generate-index-listing | ||
install-script | ||
README.md | ||
release-deb | ||
release-rpm | ||
sign-repos | ||
test-deb-install | ||
test-docker-py | ||
test-install-script | ||
test-integration-cli | ||
test-old-apt-repo | ||
test-unit | ||
tgz | ||
ubuntu | ||
update-apt-repo | ||
validate-dco | ||
validate-default-seccomp | ||
validate-gofmt | ||
validate-lint | ||
validate-pkg | ||
validate-test | ||
validate-toml | ||
validate-vendor | ||
validate-vet | ||
win |
This directory holds scripts called by make.sh
in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh