Skip to content

Commit

Permalink
Merge pull request #75 from D0han/master
Browse files Browse the repository at this point in the history
Build docker image from current source
  • Loading branch information
robertswiecki authored Apr 18, 2018
2 parents c4b51e6 + efb2227 commit cfa3a64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cfa3a64

Please sign in to comment.