summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile.builder.amd64
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2018-05-01 12:41:10 -0700
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-05-04 10:26:51 +1000
commit0460a745e355158559c01b25f8138404f21b5d92 (patch)
tree97edddf3dc79c5efc78b52b4d9e5cb3569b4b642 /docker/Dockerfile.builder.amd64
parent5e364ce7e096f4e35e4c8b2d5eec79c56ac1b32e (diff)
downloadtalos-petitboot-0460a745e355158559c01b25f8138404f21b5d92.tar.gz
talos-petitboot-0460a745e355158559c01b25f8138404f21b5d92.zip
docker: Add build container files
Add dockerfiles and helper scripts that create a docker image with the tools needed to build petitboot. See the docker/README.md file for more info. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'docker/Dockerfile.builder.amd64')
-rw-r--r--docker/Dockerfile.builder.amd6424
1 files changed, 24 insertions, 0 deletions
diff --git a/docker/Dockerfile.builder.amd64 b/docker/Dockerfile.builder.amd64
new file mode 100644
index 0000000..dc0cce4
--- /dev/null
+++ b/docker/Dockerfile.builder.amd64
@@ -0,0 +1,24 @@
+# Image for compiling petitboot.
+
+FROM 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
OpenPOWER on IntegriCloud