瀏覽代碼

Update

tags/v0.0.38^0
Peter Vivell 6 年之前
父節點
當前提交
8b29875249
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. 3
    2
      Dockerfile

+ 3
- 2
Dockerfile 查看文件

@@ -1,6 +1,7 @@
1 1
 FROM debian:stable-slim
2 2
 
3
-RUN echo 'export http_proxy=http://$(ip route list exact 0.0.0.0/0 | head -1 | cut -d" " -f3):3142/' >> /etc/profile
3
+ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
4
+ENV HOME /
4 5
 
5 6
 ARG BUILDDEPS
6 7
 RUN \
@@ -14,4 +15,4 @@ RUN \
14 15
         git \
15 16
         ${BUILDDEPS}
16 17
 
17
-CMD ["bash", "-c", "pwd; echo $PATH"]
18
+CMD ["bash"]

Loading…
取消
儲存