Peter Vivell преди 6 години
родител
ревизия
98f8f0f16d
променени са 1 файла, в които са добавени 6 реда и са изтрити 5 реда
  1. 6
    5
      Dockerfile

+ 6
- 5
Dockerfile Целия файл

@@ -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…
Отказ
Запис