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 0682468431 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>
2016-07-07 12:53:39 +01:00
..
.build-deb Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
.build-rpm Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
.resources-windows Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
.binary Build two binaries client and daemon. 2016-04-22 11:26:01 -04:00
.binary-setup Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
.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 Windows: Ensure frozen cope with prefix 2016-06-23 16:39:16 -07:00
.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 Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
.integration-daemon-setup Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
.integration-daemon-start Fixing the PATH in .integration-daemon-start to find dynamic docker binary 2016-04-25 11:18:34 -04:00
.integration-daemon-stop
.validate
binary Add make install task 2016-06-03 12:08:33 +02:00
binary-client Add make install task 2016-06-03 12:08:33 +02:00
binary-daemon Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
build-deb Revert tasksmax workaround to avoid unsupported bins 2016-06-29 08:10:10 +02:00
build-rpm Merge pull request #22236 from kencochrane/remove_git_from_rpm 2016-05-06 11:16:12 -07: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 Add make install task 2016-06-03 12:08:33 +02:00
dynbinary Fix spelling in comments, strings and documentation 2016-07-03 20:58:11 +03:00
dynbinary-client Make dockerd debuggable 2016-04-26 09:35:22 -07:00
dynbinary-daemon Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
dyngccgo *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
gccgo Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
generate-index-listing Fix index generator for apt/yum packages 2016-02-16 21:54:07 -05:00
install-binary Add make install task 2016-06-03 12:08:33 +02:00
install-binary-client Add make install task 2016-06-03 12:08:33 +02:00
install-binary-daemon Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01:00
install-script
README.md
release-deb Fix the value of the Components value in apt {In,}Release files 2016-06-21 12:01:41 -07:00
release-rpm Fix release scripts 2016-03-25 11:55:26 -04:00
sign-repos Also generate "InRelease" files for newer APT clients 2016-03-31 17:39:50 -07:00
test-deb-install Update build-deb to make correct use of DOCKER_BUILD_PKGS 2016-05-02 11:22:01 -07:00
test-docker-py
test-install-script
test-integration-cli Prevent CI from getting stuck if shims are left alive 2016-06-28 10:05:05 -07:00
test-old-apt-repo
test-unit Dont leak DOCKER_INCREMENTAL_BINARY flag into go test. 2016-06-14 13:02:54 -07:00
tgz Make the docker proxy a standalone binary not a re-exec 2016-07-07 12:53:39 +01: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

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