1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/project/ARM.md
Govinda Fichtner 7b31ed432e add support for building first ARM debian package
Signed-off-by: Govinda Fichtner <govinda.fichtner@googlemail.com>
2016-01-29 00:21:17 +01:00

1.2 KiB

ARM support

The ARM support should be considered experimental. It will be extended step by step in the coming weeks.

Building a Docker Development Image works in the same fashion as for Intel platform (x86-64). Currently we have initial support for 32bit ARMv7 devices.

To work with the Docker Development Image you have to clone the Docker/Docker repo on a supported device. It needs to have a Docker Engine installed to build the Docker Development Image.

From the root of the Docker/Docker repo one can use make to execute the following make targets:

  • make validate
  • make binary
  • make build
  • make deb
  • make bundles
  • make default
  • make shell
  • make test-unit
  • make test-integration-cli
  • make

The Makefile does include logic to determine on which OS and architecture the Docker Development Image is built. Based on OS and architecture it chooses the correct Dockerfile. For the ARM 32bit architecture it uses Dockerfile.armhf.

So for example in order to build a Docker binary one has to

  1. clone the Docker/Docker repository on an ARM device git clone git@github.com:docker/docker.git
  2. change into the checked out repository with cd docker
  3. execute make binary to create a Docker Engine binary for ARM