Merge pull request #75 from D0han/master

Build docker image from current source
This commit is contained in:
robertswiecki 2018-04-18 14:11:19 +02:00 committed by GitHub
commit cfa3a64614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,6 @@ RUN apt-get -y update && apt-get install -y \
protobuf-compiler \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --depth=1 https://github.com/google/nsjail.git
COPY . /nsjail
WORKDIR /nsjail
RUN make && mv /nsjail/nsjail /bin && rm -rf -- /nsjail
RUN cd /nsjail && make && mv /nsjail/nsjail /bin && rm -rf -- /nsjail