1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/make
Justin Cormack d28a8673b5 Make the docker proxy a standalone binary not a re-exec
This reduces memory usage with a lot of docker proxy processes.
On Docker for Mac we are currently carrying a patch to replace
the binary as we modify it to forward ports to the Mac rather
than the Linux VM, this allows us to simply replace this binary
in our packaging with one that has a compatible interface. This
patch does not provide an easy way to substitute a binary as
the interface is complex and there are few use cases, but where
needed this can be done.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
(cherry picked from commit 0682468431)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-08 15:33:28 -07:00
..
.build-deb
.build-rpm
.resources-windows
.binary
.binary-setup
.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
binary-client
binary-daemon
build-deb
build-rpm
clean-apt-repo
clean-yum-repo
cover
cross
dynbinary
dynbinary-client
dynbinary-daemon
dyngccgo
gccgo
generate-index-listing
install-binary
install-binary-client
install-binary-daemon
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