ソースを参照

Update Dockerfile

tags/v0.0.28
Peter Vivell 6年前
コミット
70441e20e1
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile ファイルの表示

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

読み込み中…
キャンセル
保存