Fix dockerfile: add libcap-dev install
authordisconnect3d <dominik.b.czarnota@gmail.com>
Tue, 18 Jul 2017 19:19:23 +0000 (21:19 +0200)
committerdisconnect3d <dominik.b.czarnota@gmail.com>
Tue, 18 Jul 2017 19:19:23 +0000 (21:19 +0200)
Before the fix the build ends up somewhere with:
> sys/capability.h: No such file or directory

Dockerfile

index dca33b38c39c6a56c72010e8fb7f0ef2cf853f3d..b90b6e9e98db96d757b38982a184a236ef899ec4 100644 (file)
@@ -12,7 +12,8 @@ RUN apt-get -y update && apt-get install -y \
     pkg-config \
     protobuf-c-compiler \
     re2c \
-&& rm -rf /var/lib/apt/lists/*
+    libcap-dev \
+    && rm -rf /var/lib/apt/lists/*
 
 RUN git clone https://github.com/google/nsjail.git