Kaynağa Gözat

Update drone.yml and Dockerfile

tags/v0.0.28
Peter Vivell 6 yıl önce
ebeveyn
işleme
6c3ce54de5
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5
    0
      Dockerfile

+ 5
- 0
Dockerfile Dosyayı Görüntüle

@@ -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…
İptal
Kaydet