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
Tibor Vass 195919d9d6 builder: set buildkit's exported product variable via PRODUCT
This introduces a PRODUCT environment variable that is used to set a constant
at dockerversion.ProductName.

That is then used to set BuildKit's ExportedProduct variable in order to show
useful error messages to users when a certain version of the product doesn't
support a BuildKit feature.

Signed-off-by: Tibor Vass <tibor@docker.com>
2018-07-16 21:41:54 +00:00
..
.resources-windows
.binary
.binary-setup
.detect-daemon-osarch
.ensure-emptyfs
.go-autogen builder: set buildkit's exported product variable via PRODUCT 2018-07-16 21:41:54 +00:00
.go-autogen.ps1 builder: set buildkit's exported product variable via PRODUCT 2018-07-16 21:41:54 +00:00
.integration-daemon-setup
.integration-daemon-start
.integration-daemon-stop
.integration-test-helpers
binary
binary-daemon
build-integration-test-binary
cross
dynbinary
dynbinary-daemon
install-binary
README.md
run
test-docker-py
test-integration
test-integration-cli
test-integration-shell

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 binary ubuntu

# Or to run all default bundles:
./hack/make.sh

To add a bundle:

  • Create a shell-compatible file here
  • Add it to $DEFAULT_BUNDLES in make.sh