61a3285864
Pretty much cross-compile doesn't work because of this: > profiles/seccomp/seccomp.go:13:2: build constraints exclude all Go files in /go/src/github.com/docker/docker/vendor/github.com/seccomp/libseccomp-golang This changes adds a new Dockerfile target for cross compilation with the neccesary arch specific libseccomp packages and CC toolchains. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
.resources-windows | ||
.binary | ||
.binary-setup | ||
.detect-daemon-osarch | ||
.ensure-emptyfs | ||
.go-autogen | ||
.go-autogen.ps1 | ||
.integration-daemon-setup | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.integration-test-helpers | ||
binary | ||
binary-daemon | ||
build-integration-test-binary | ||
containerutility | ||
cross | ||
cross-platform-dependent | ||
dynbinary | ||
dynbinary-daemon | ||
install-binary | ||
README.md | ||
run | ||
test-docker-py | ||
test-integration | ||
test-integration-cli | ||
test-integration-flaky | ||
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