Doc on proxy settings

Add doc on how to set proxy while building kubernetes in container.
pull/6/head
Victor HU 2015-03-12 14:55:59 +08:00
parent 23c9c405fb
commit e083fd3d44
1 changed files with 15 additions and 0 deletions

View File

@ -67,6 +67,21 @@ Everything in `build/build-image/` is meant to be run inside of the container.
When building final release tars, they are first staged into `_output/release-stage` before being tar'd up and put into `_output/release-tars`.
## Proxy Settings
If you are behind a proxy, you need to edit `build/build-image/Dockerfile` and add proxy settings to execute command in that container correctly.
example:
`ENV http_proxy http://username:password@proxyaddr:proxyport`
`ENV https_proxy http://username:password@proxyaddr:proxyport`
Besides, to avoid integration test touch the proxy while connecting to local etcd service, you need to set
`ENV no_proxy 127.0.0.1`
## TODOs
These are in no particular order