New issue

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

Build nvidia-docker behind proxy #143

Closed
NanXiao opened this Issue Jul 19, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@NanXiao

NanXiao commented Jul 19, 2016

My host which builds nvidia-docker works behind proxy. Now the work around method is modifying tools/Makefile manually:

DOCKER_BUILD     :=    ......
                                       --build-arg PKG_ARCH="$(PKG_ARCH)" \
                                       --build-arg http_proxy=http://web-proxy.corp.xxxxxx.com:8080/ \
                                       --build-arg https_proxy=https://web-proxy.corp.xxxxxx.com:8080/

Is there more better method?

@flx42

This comment has been minimized.

Show comment
Hide comment
@flx42

flx42 Jul 19, 2016

Member

Please look at this issue: #42, @bdalton has written a nice explanation!

Member

flx42 commented Jul 19, 2016

Please look at this issue: #42, @bdalton has written a nice explanation!

@flx42 flx42 closed this Jul 19, 2016

@flx42 flx42 added the duplicate label Jul 19, 2016

@NanXiao

This comment has been minimized.

Show comment
Hide comment
@NanXiao

NanXiao Jul 20, 2016

@flx42 I think nvidia-docker can refer docker, and introduces a varible like DOCKER_BUILD_ARGS:

make DOCKER_BUILD_ARGS="--build-arg http_proxy=http://web-proxy.corp.xxxxxx.com:8080/ --build-arg https_proxy=https://web-proxy.corp.xxxxxx.com:8080/"

NanXiao commented Jul 20, 2016

@flx42 I think nvidia-docker can refer docker, and introduces a varible like DOCKER_BUILD_ARGS:

make DOCKER_BUILD_ARGS="--build-arg http_proxy=http://web-proxy.corp.xxxxxx.com:8080/ --build-arg https_proxy=https://web-proxy.corp.xxxxxx.com:8080/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment