Browse Source

Update

tags/v0.0.34
Peter Vivell 6 years ago
parent
commit
98f8f0f16d
1 changed files with 6 additions and 5 deletions
  1. 6
    5
      Dockerfile

+ 6
- 5
Dockerfile View File

@@ -1,11 +1,12 @@
1 1
 FROM debian:stable-slim
2 2
 
3
-RUN echo 'export http_proxy=$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142' >> /etc/profile ; \
3
+RUN apt-get update && \
4
+    apt-get --yes upgrade && \
5
+    apt-get --yes install iproute2 ; \
6
+    echo 'export http_proxy=$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142' >> /etc/profile ; \
4 7
     . /etc/profile
5 8
 
6 9
 ARG BUILDDEPS
7
-RUN apt-get update && \
8
-    apt-get --yes upgrade && \
9
-    apt-get --yes install ${BUILDDEPS}
10
+RUN apt-get --yes install ${BUILDDEPS}
10 11
 
11
-ENTRYPOINT ["/bin/sh", "-c", "#(noop)"]
12
+ENTRYPOINT ["/bin/sh", "-c", "#(nop)"]

Loading…
Cancel
Save