From 4322e4c35c985bd7b2f9017da5e57832555eafcc Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Fri, 19 Feb 2016 14:51:09 -0800 Subject: [PATCH] dockerfile: add Dockerfile.tmpl Fixes: afae962c668d ("dockerfile: extract a common part in one file") Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- 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 000000000..96f3e463e --- /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)