2016-01-20 77 views

回答

2

除非你有使用export一个具体的理由,多克尔内置了支持在Dockerfile使用environment variables

ENV http_proxy='http://user:[email protected]:port' 
+0

我尝试过,但没有奏效。现在,我意识到我使用了错误的ENV命令语法。谢谢! –