-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add docker proxy settings for make test in a proxy environment #1854
Add docker proxy settings for make test in a proxy environment #1854
Conversation
You can run a test in your proxy environment by setting `DOCKER_BUILD_PROXY` and `DOCKER_RUN_PROXY` variables. | ||
|
||
```bash | ||
# make test DOCKER_BUILD_PROXY="--build-arg HTTP_PROXY=http://yourproxy/" DOCKER_RUN_PROXY="-e HTTP_PROXY=http://yourproxy/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not these be DOCKER_BUILD_FLAGS
and DOCKER_RUN_FLAGS
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AkihiroSuda Thank you for your comments. I thought these variables should be only used for proxy settings and named these variables. But either is fine.
ping @opencontainers/runc-maintainers @AkihiroSuda I'm thinking that I'll use original variables names if someone doesn't deny. Could someone give me comments or review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (IANAM)
@KentaTada Needs rebase. |
This commit modifies Makefile to execute `make test` in a proxy environment. Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
247f25d
to
b399167
Compare
@hqhq Thank you for your review and I rebase it. |
Currently,
make test
cannot be executed in a proxy environment. This commit resolves it.Signed-off-by: Kenta Tada Kenta.Tada@sony.com