nsjail/Dockerfile
disconnect3d 25deba1425 Fix dockerfile: add libcap-dev install
Before the fix the build ends up somewhere with:
> sys/capability.h: No such file or directory
2017-07-18 21:19:23 +02:00

23 lines
392 B
Docker

FROM ubuntu:16.04
RUN apt-get -y update && apt-get install -y \
autoconf \
bison \
check \
flex \
gcc \
git \
libtool \
make \
pkg-config \
protobuf-c-compiler \
re2c \
libcap-dev \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/google/nsjail.git
WORKDIR /nsjail
RUN make && mv /nsjail/nsjail /bin && rm -rf -- /nsjail