Dockerfile: make it compile with new c++ libprotobuf
authorRobert Swiecki <robert@swiecki.net>
Wed, 27 Sep 2017 13:18:30 +0000 (15:18 +0200)
committerRobert Swiecki <robert@swiecki.net>
Wed, 27 Sep 2017 13:18:30 +0000 (15:18 +0200)
Dockerfile

index b90b6e9e98db96d757b38982a184a236ef899ec4..a915b0067d988aea608fd5bc9c4baa39cb13b521 100644 (file)
@@ -6,16 +6,17 @@ RUN apt-get -y update && apt-get install -y \
     check \
     flex \
     gcc \
+    g++ \
     git \
+    libprotobuf-dev \
     libtool \
     make \
     pkg-config \
-    protobuf-c-compiler \
-    re2c \
+    protobuf-compiler \
     libcap-dev \
     && rm -rf /var/lib/apt/lists/*
 
-RUN git clone https://github.com/google/nsjail.git
+RUN git clone --depth=1 https://github.com/google/nsjail.git
 
 WORKDIR /nsjail