Browse Source

update drone.yml and Dockerfile

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

+ 7
- 5
Dockerfile View File

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

Loading…
Cancel
Save