提交 771bbe60 编写于 作者: Y Yu Yang

Fix Production Docker Image's mirror settings.

上级 4fa8fdc3
...@@ -75,9 +75,8 @@ fi ...@@ -75,9 +75,8 @@ fi
paddle version paddle version
# generate production docker image Dockerfile if [[ -n ${APT_MIRROR} ]]; then
if [ ${USE_MIRROR} ]; then MIRROR_UPDATE="sed -i '${APT_MIRROR}' /etc/apt/sources.list && \\"
MIRROR_UPDATE="sed 's@http:\/\/archive.ubuntu.com\/ubuntu\/@mirror:\/\/mirrors.ubuntu.com\/mirrors.txt@' -i /etc/apt/sources.list && \\"
else else
MIRROR_UPDATE="\\" MIRROR_UPDATE="\\"
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册