aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodolfo Alonso <rodolfo.alonso.hernandez@intel.com>2016-03-07 10:59:44 +0000
committerRodolfo Alonso <rodolfo.alonso.hernandez@intel.com>2016-03-07 11:25:51 +0000
commitc0d7abc53221494ac6842627621679f6cea2930c (patch)
treefa807407cfcbeac5b971302117529224be561655
parentb0b891ed60e38b5f1ae8bd3f0b8fce51700ea1aa (diff)
downloadkolla-c0d7abc53221494ac6842627621679f6cea2930c.tar.gz
kolla-c0d7abc53221494ac6842627621679f6cea2930c.zip
Add documentation for proxy buildargs picked from the environment.
Add documentation for the commit I084e5d1cc8f9993d65167878f9983ad58a68e86e. Explain how 'build.py' picks up automatically env proxy variables. Change-Id: Ia8513babd4ff72ed52e167b361d6b54393598a78 Closes-Bug: #1538108
-rw-r--r--doc/image-building.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst
index 6e39d7b0f..d451d91d3 100644
--- a/doc/image-building.rst
+++ b/doc/image-building.rst
@@ -267,6 +267,18 @@ Finally, pass them to the build script using the ``-i`` and ``-I`` flags:
tools/build.py -i .header -I .footer
+Besides this configuration options, the script will automatically read these
+environment variables. If the host system proxy parameters match the ones
+going to be used, no other input parameters will be needed. These are the
+variables that will be picked up from the user env:
+
+::
+
+ HTTP_PROXY, http_proxy, HTTPS_PROXY, https_proxy, FTP_PROXY,
+ ftp_proxy, NO_PROXY, no_proxy
+
+Also these variables could be overwritten using ``--build-args``, which have
+precedence.
.. _DockerBug: https://github.com/docker/docker/issues/6980
.. _drivers: https://wiki.openstack.org/wiki/Neutron#Plugins