projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ec24e
)
Build docker image from current source
author
D0han
<d0hanzibi@gmail.com>
Wed, 11 Apr 2018 15:02:20 +0000
(17:02 +0200)
committer
D0han
<d0hanzibi@gmail.com>
Wed, 11 Apr 2018 15:02:20 +0000
(17:02 +0200)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index
81e25db
..
5bd472a
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-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