diff options
author | 2021-12-20 15:28:01 -0800 | |
---|---|---|
committer | 2021-12-20 15:28:01 -0800 | |
commit | b1bcd3b04fb2a83fd7bd4fe930582ccf0b6bf627 (patch) | |
tree | d9be3d05f08fb610343e3a009bb6d179b41c3b17 /Dockerfile | |
parent | Use the system locale's encoding for cgroup files (diff) |
Update NsJail
The updated versions adds support for telling NsJail to set the max swap
memory in the cgroup.
Resolve #125
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,4 +1,7 @@ FROM python:3.10-slim-buster as builder + +WORKDIR /nsjail + RUN apt-get -y update \ && apt-get install -y \ bison=2:3.3.* \ @@ -11,12 +14,8 @@ RUN apt-get -y update \ make=4.2.* \ pkg-config=0.29-6 \ protobuf-compiler=3.6.* -RUN git clone \ - -b '2.9' \ - --single-branch \ - --depth 1 \ - https://github.com/google/nsjail.git /nsjail -WORKDIR /nsjail +RUN git clone -b master --single-branch https://github.com/google/nsjail.git . \ + && git checkout dccf911fd2659e7b08ce9507c25b2b38ec2c5800 RUN make # ------------------------------------------------------------------------------ |