[CRIU] [PATCH 2/3] dockerfile: add Dockerfile.tmpl

Andrey Vagin avagin at gmail.com
Fri Feb 19 14:51:09 PST 2016


From: Andrey Vagin <avagin at openvz.org>

Fixes: afae962c668d ("dockerfile: extract a common part in one file")
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 scripts/build/Dockerfile.tmpl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 scripts/build/Dockerfile.tmpl

diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
new file mode 100644
index 0000000..96f3e46
--- /dev/null
+++ b/scripts/build/Dockerfile.tmpl
@@ -0,0 +1,18 @@
+RUN apt-get update
+
+RUN apt-get update && apt-get install -y \
+                build-essential \
+                protobuf-c-compiler \
+                libprotobuf-c0-dev \
+                libprotobuf-dev \
+                bsdmainutils \
+                protobuf-compiler \
+                python-minimal \
+                libaio-dev \
+                iptables \
+                libnl-3-dev
+
+COPY . /criu
+WORKDIR /criu
+
+RUN make clean && make -j $(nproc)
-- 
2.5.0



More information about the CRIU mailing list