1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack
Dieter Reuter 0d7e118f01 Add support for running builds within an QEMU emulation
With this change we can run a Docker build in QEMU and build ARM or ARM64 binaries directly on an Intel build machine. This feature already supports building with Docker4Mac (Beta31). So it's easy for a developer to compile and test the Docker binaries locally on his dev machine w/o the need of the target hardware. Another use case would be to run builds on a clound CI like Travis to get an instant feedback loop for PR's, all on a common Intel platform w/o the need to set up the CI system on the target hardware.

Usage: build static Docker binaries for ARM 32-bit
```
DOCKER_ENGINE_OSARCH="linux/arm" make binary
```

Usage: build static Docker binaries for ARM64 aka AARCH64
```
DOCKER_ENGINE_OSARCH="linux/arm64" make binary
```

Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
2016-12-03 13:53:59 +01:00
..
dockerfile hack/dockerfile/binaries-commits: use full commit hash for docker info 2016-11-22 08:59:57 +01:00
Jenkins Update win2lin scripts to match production 2016-06-08 11:08:23 -07:00
make Add support for running builds within an QEMU emulation 2016-12-03 13:53:59 +01:00
validate Fix swagger-gen validation. 2016-12-02 12:11:35 -05:00
dind Update dind 2016-05-24 20:42:28 -07:00
generate-authors.sh Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
generate-swagger-api.sh Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00
install.sh Fix install script for multiarch 2016-10-31 09:38:26 -04:00
make.ps1 Windows: make.ps1 and Dockerfile for native builds 2016-12-02 10:46:15 -08:00
make.sh Remove old Windows hack in make.sh 2016-11-16 09:29:38 -08:00
release.sh skip solaris and allow dry run control points 2016-11-22 01:42:52 -08:00
vendor.sh project: use vndr for vendoring 2016-11-03 15:31:46 -07:00