[CRIU] [PATCH 5/6] Dockerfile: add more packages

Kir Kolyshkin kir at openvz.org
Mon Feb 22 18:44:15 PST 2016


These packages are needed for proper build:

* git-core: to get CRIU version (see Makefile)
* pkg-config, libselinux-dev: to check for selinux
  (see criu/Makefile.config)

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 scripts/build/Dockerfile.tmpl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
index 79874cb..11746dc 100644
--- a/scripts/build/Dockerfile.tmpl
+++ b/scripts/build/Dockerfile.tmpl
@@ -11,7 +11,10 @@ RUN apt-get update && apt-get install -y \
                 libaio-dev \
                 iptables \
                 libnl-3-dev \
-                libcap-dev
+                libcap-dev \
+                libselinux-dev \
+                pkg-config \
+                git-core
 
 COPY . /criu
 WORKDIR /criu
-- 
2.5.0



More information about the CRIU mailing list