|
|
@@ -3,7 +3,7 @@ MAINTAINER Drone CI/CD
|
|
3
|
3
|
|
|
4
|
4
|
ARG HTTP_PROXY
|
|
5
|
5
|
RUN echo $'\n\
|
|
6
|
|
- Acquire::http { Proxy "'$HTTP_PROXY$'"; } \n\
|
|
|
6
|
+ Acquire::http { Proxy "'${HTTP_PROXY}$'"; } \n\
|
|
7
|
7
|
Acquire::https { Proxy "https://"; }; \n\
|
|
8
|
8
|
' >> /etc/apt/apt.conf.d/01-proxy
|
|
9
|
9
|
|
|
|
@@ -13,6 +13,6 @@ RUN cat /etc/apt/apt.conf.d/01-proxy
|
|
13
|
13
|
ARG BUILDDEPS
|
|
14
|
14
|
RUN apt-get update && \
|
|
15
|
15
|
apt-get --yes upgrade && \
|
|
16
|
|
- apt-get --yes install $BUILDDEPS
|
|
|
16
|
+ apt-get --yes install ${BUILDDEPS}
|
|
17
|
17
|
|
|
18
|
18
|
CMD [ "/bin/bash", "-c", "#(noop)" ]
|