docker: Add DOCKER_FROM arg
authorGeoff Levand <geoff@infradead.org>
Mon, 21 May 2018 19:59:39 +0000 (19:59 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 23 May 2018 01:11:36 +0000 (11:11 +1000)
commit1c45cf6e9393e8c27acfa7c86ea305bcc26ff258
tree4930300e91bacccd1657de6ab3ca643c32d51c85
parent1214247667d138e2fa1748f4f270e5fc80010377
docker: Add DOCKER_FROM arg

The dockerfile for each architecture is the same except for the 'FROM' image.
Add a new Dockerfile argument DOCKER_FROM that allows for a commom dockerfile.
If the docker version is older than 17.05 generate a docker file from
the common one.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
docker/Dockerfile.builder [new file with mode: 0644]
docker/Dockerfile.builder.amd64 [deleted file]
docker/Dockerfile.builder.arm64 [deleted file]
docker/build-builder
docker/builder-include