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