From 83efe325462e683e2c99d088012cd611d7a0b138 Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Wed, 16 Dec 2020 21:26:56 +0300 Subject: Unify curl use (customisation options) This change adds and unifies an ability to override hardcoded URLs for air-gapped environments via the usual blocks mechanism. Also, this change replaces ENV with ARG instruction for the variables used only in building images, and uses bash variable expansion where it possible. This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685 Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f Signed-off-by: Maksim Malchuk --- doc/source/admin/image-building.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/source/admin/image-building.rst b/doc/source/admin/image-building.rst index aa100f4a3..2fe0c3abb 100644 --- a/doc/source/admin/image-building.rst +++ b/doc/source/admin/image-building.rst @@ -293,6 +293,17 @@ To remove a package from that list, say ``openstack-magnum-ui``, one would do: # Horizon {% set horizon_packages_remove = ['openstack-magnum-ui'] %} +Python packages build options +----------------------------- + +The block ``base_pip_conf`` in the ``base`` Dockerfile can be used to provide +the PyPI build customisation options via the standard environment variables +like ``PIP_INDEX_URL``, ``PIP_TRUSTED_HOST``, etc. Also here can be provided +the standard environment variable ``UPPER_CONSTRAINTS_FILE`` used for building +the ``bifrost_deploy`` container when PyPI upper-constraints needs to be +overridden. Also this variable would be used in the ``kolla-toolbox`` if +provided instead of the defaults. + Plugin functionality -------------------- -- cgit v1.2.3