We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
主要有三个地方需要修改: 1. 需要设置http代理 厂内机器访问github以及其他国外网站很慢,90分钟还未完成docker build ,并且丢包。 需要设置代理。 计划这样修改 目前:
if [[ "%WITH_UBUNTU_MIRROR%" == "ON" ]]; then docker build -t ${PADDLE_DEV_NAME} --build-arg UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt . else docker build -t ${PADDLE_DEV_NAME} .
改成:
if [[ "%WITH_UBUNTU_MIRROR%" == "ON" ]]; then if [[ %system.teamcity.agent.hostname% =~ yq01-gpu-88 ]]; then docker build -t ${PADDLE_DEV_NAME} --build-arg UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt --build-arg https_proxy=http://xxxx:xx --build-arg http_proxy=http://xxxx:xx . else docker build -t ${PADDLE_DEV_NAME} --build-arg UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt . fi else docker build -t ${PADDLE_DEV_NAME} . fi
以及在docker run时,指定http_proxy和 https_proxy
2. 需要修改的docker 命令 docker images paddlepaddle/paddle-dev:6e29fd7ace5d6cb4b88d4af864f14128 -q(老一点的docker版本不支持) 修改为 docker images -q paddlepaddle/paddle-dev:6e29fd7ace5d6cb4b88d4af864f14128
3. cases适配 在docker run时, 设置no_proxy=127.0.0.1 (在本地时用该代理,以防止case test_send_recv出错, 该case会在本地启动一个代理)
The text was updated successfully, but these errors were encountered:
请帮忙review下~
Sorry, something went wrong.
done
reyoung
guochaorong
No branches or pull requests
主要有三个地方需要修改:
1. 需要设置http代理
厂内机器访问github以及其他国外网站很慢,90分钟还未完成docker build ,并且丢包。
需要设置代理。
计划这样修改
目前:
改成:
以及在docker run时,指定http_proxy和 https_proxy
2. 需要修改的docker 命令
docker images paddlepaddle/paddle-dev:6e29fd7ace5d6cb4b88d4af864f14128 -q(老一点的docker版本不支持)
修改为 docker images -q paddlepaddle/paddle-dev:6e29fd7ace5d6cb4b88d4af864f14128
3. cases适配
在docker run时, 设置no_proxy=127.0.0.1 (在本地时用该代理,以防止case test_send_recv出错, 该case会在本地启动一个代理)
The text was updated successfully, but these errors were encountered: