moby--moby/hack/make
Tibor Vass 89276c679e Fix release scripts
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 996138bf8e)
2016-03-25 13:43:08 -04:00
..
.build-deb Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
.build-rpm Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
.resources-windows
.detect-daemon-osarch Add explicit code to handle older versions of Docker, too 2016-03-14 09:30:45 -07:00
.ensure-emptyfs
.ensure-frozen-images Adjust "hack/make/.detect-daemon-osarch" to be the source of truth for "platform detection" 2016-03-10 20:07:21 -08:00
.ensure-frozen-images-windows
.ensure-httpserver Improve remote integration-cli tests 2016-02-11 07:31:49 -08:00
.ensure-nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
.ensure-syscall-test use debian:jessie for ensure-syscall-test 2016-02-09 13:13:38 -05:00
.go-autogen *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
.integration-daemon-setup Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
.integration-daemon-start Fix release scripts 2016-03-25 13:43:08 -04:00
.integration-daemon-stop
.validate
README.md
binary Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga" 2016-03-25 13:43:08 -04:00
build-deb Fix symlink copying for deb init scripts 2016-03-25 13:43:08 -04:00
build-rpm Packaging changes required for new containerd binaries 2016-03-25 13:43:07 -04:00
clean-apt-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08:00
clean-yum-repo add scripts to clean experimental rpms and debs 2016-01-27 15:54:53 -08:00
cover
cross
dynbinary *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
dyngccgo *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
gccgo Export GOOS and GOARCH in subprocess for tgz 2016-03-22 15:43:06 -07:00
generate-index-listing Fix index generator for apt/yum packages 2016-02-16 21:54:07 -05:00
install-script Create a bundle for the install script to support other domains 2016-01-21 20:42:20 -08:00
release-deb Fix release scripts 2016-03-25 13:43:08 -04:00
release-rpm Fix release scripts 2016-03-25 13:43:08 -04:00
sign-repos
test-deb-install improve test-deb-install 2016-02-04 18:14:08 +01:00
test-docker-py
test-install-script
test-integration-cli use per-check timeouts 2016-03-11 14:38:52 -05:00
test-old-apt-repo
test-unit use per-check timeouts 2016-03-11 14:38:52 -05:00
tgz Packaging changes required for new containerd binaries 2016-03-25 13:43:07 -04:00
ubuntu
update-apt-repo fix common misspell 2016-02-11 15:49:36 -08:00
validate-dco
validate-default-seccomp add validation for generating default secccomp profile 2016-02-08 13:04:52 -08:00
validate-gofmt
validate-lint
validate-pkg
validate-test
validate-toml
validate-vendor
validate-vet
win Windows libnetwork integration 2016-03-09 20:33:21 -08:00

README.md

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