Merge pull request #75 from D0han/master
Build docker image from current source
This commit is contained in:
commit
cfa3a64614
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user