Browse Source

Update drone.yml and Dockerfile

tags/v0.0.28
Peter Vivell 6 years ago
parent
commit
6c3ce54de5
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      Dockerfile

+ 5
- 0
Dockerfile View File

1
 FROM debian:stable-slim
1
 FROM debian:stable-slim
2
 MAINTAINER Drone CI/CD
2
 MAINTAINER Drone CI/CD
3
 
3
 
4
+ARG HTTP_PROXY
4
 RUN echo $'\n\
5
 RUN echo $'\n\
5
       Acquire::http  { Proxy "'$HTTP_PROXY$'"; } \n\
6
       Acquire::http  { Proxy "'$HTTP_PROXY$'"; } \n\
6
       Acquire::https { Proxy "https://"; }; \n\
7
       Acquire::https { Proxy "https://"; }; \n\
7
 '   >> /etc/apt/apt.conf.d/01-proxy
8
 '   >> /etc/apt/apt.conf.d/01-proxy
8
 
9
 
10
+RUN ls -l /etc/apt/apt.conf.d/01-proxy
11
+RUN cat /etc/apt/apt.conf.d/01-proxy
12
+
13
+ARG BUILDDEPS
9
 RUN apt-get update && \
14
 RUN apt-get update && \
10
     apt-get --yes upgrade && \
15
     apt-get --yes upgrade && \
11
     apt-get --yes install $BUILDDEPS
16
     apt-get --yes install $BUILDDEPS

Loading…
Cancel
Save