Pārlūkot izejas kodu

Update

tags/v0.0.34
Peter Vivell 6 gadus atpakaļ
vecāks
revīzija
98f8f0f16d
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6
    5
      Dockerfile

+ 6
- 5
Dockerfile Parādīt failu

@@ -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)"]

Notiek ielāde…
Atcelt
Saglabāt