Selaa lähdekoodia

Update drone.yml and Dockerfile

tags/v0.0.28
Peter Vivell 6 vuotta sitten
vanhempi
commit
6c3ce54de5
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5
    0
      Dockerfile

+ 5
- 0
Dockerfile Näytä tiedosto

@@ -1,11 +1,16 @@
1 1
 FROM debian:stable-slim
2 2
 MAINTAINER Drone CI/CD
3 3
 
4
+ARG HTTP_PROXY
4 5
 RUN echo $'\n\
5 6
       Acquire::http  { Proxy "'$HTTP_PROXY$'"; } \n\
6 7
       Acquire::https { Proxy "https://"; }; \n\
7 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 14
 RUN apt-get update && \
10 15
     apt-get --yes upgrade && \
11 16
     apt-get --yes install $BUILDDEPS

Loading…
Peruuta
Tallenna