]> git.ozlabs.org Git - petitboot/commitdiff
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)
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>

No differences found