[CRIU] [PATCH 4/6] Dockerfile: add libcap-dev
Kir Kolyshkin
kir at openvz.org
Mon Feb 22 18:44:14 PST 2016
Without it, make x86_64 build fails with
> namespaces.c:12:28: fatal error: sys/capability.h: No such file or directory
I'm not sure why building other arches succeeds, but
the package is definitely required.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
scripts/build/Dockerfile.tmpl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
index 96f3e46..79874cb 100644
--- a/scripts/build/Dockerfile.tmpl
+++ b/scripts/build/Dockerfile.tmpl
@@ -10,7 +10,8 @@ RUN apt-get update && apt-get install -y \
python-minimal \
libaio-dev \
iptables \
- libnl-3-dev
+ libnl-3-dev \
+ libcap-dev
COPY . /criu
WORKDIR /criu
--
2.5.0
More information about the CRIU
mailing list