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