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

Завантаження…
Відмінити
Зберегти