diff options
author | Geoff Levand <geoff@infradead.org> | 2018-05-21 19:59:39 +0000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-05-23 11:11:36 +1000 |
commit | 1c45cf6e9393e8c27acfa7c86ea305bcc26ff258 (patch) | |
tree | 4930300e91bacccd1657de6ab3ca643c32d51c85 /docker/Dockerfile.builder.arm64 | |
parent | 1214247667d138e2fa1748f4f270e5fc80010377 (diff) | |
download | talos-petitboot-1c45cf6e9393e8c27acfa7c86ea305bcc26ff258.tar.gz talos-petitboot-1c45cf6e9393e8c27acfa7c86ea305bcc26ff258.zip |
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>
Diffstat (limited to 'docker/Dockerfile.builder.arm64')
-rw-r--r-- | docker/Dockerfile.builder.arm64 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/docker/Dockerfile.builder.arm64 b/docker/Dockerfile.builder.arm64 deleted file mode 100644 index d46581f..0000000 --- a/docker/Dockerfile.builder.arm64 +++ /dev/null @@ -1,24 +0,0 @@ -# Image for compiling petitboot. - -FROM arm64v8/ubuntu:17.10 - -ENV LANG C.UTF-8 -ENV LC_ALL C.UTF-8 - -RUN apt-get update && apt-get install -y \ - apt-utils \ - autoconf \ - autopoint \ - bison \ - flex \ - gettext \ - gcc \ - git \ - libtool \ - libuv-dev \ - libdevmapper-dev \ - libncurses-dev \ - pkg-config \ - && rm -rf /var/lib/apt/lists/* - -CMD /bin/bash |