Przeglądaj źródła

Update Dockerfile

tags/v0.0.28
Peter Vivell 7 lat temu
rodzic
commit
70441e20e1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz