aboutsummaryrefslogtreecommitdiff
path: root/kolla/docker
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-06-16 22:15:29 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2026-07-30 15:55:31 +0200
commit71867b8e57273ffcc26f4fedd84919b2608da3f2 (patch)
treea5b6b1a3d9f1d9c033db7312b033a055d54aedfc /kolla/docker
parent5d77668da8167435e4ac860392994f19ec733a46 (diff)
downloadkolla-71867b8e57273ffcc26f4fedd84919b2608da3f2.tar.gz
kolla-71867b8e57273ffcc26f4fedd84919b2608da3f2.zip
Move PIP_* env variables to ARG and config
Leaving empty CI template_overrides file in case we need to use it in future. Change-Id: Ic46f1a594bcc330536bc78d93ece10e60622f6d4 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'kolla/docker')
-rw-r--r--kolla/docker/base/Dockerfile.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/kolla/docker/base/Dockerfile.j2 b/kolla/docker/base/Dockerfile.j2
index 6c1022ece..746f0e731 100644
--- a/kolla/docker/base/Dockerfile.j2
+++ b/kolla/docker/base/Dockerfile.j2
@@ -341,9 +341,9 @@ RUN touch /usr/local/bin/kolla_extend_start \
&& rm -f /tmp/kolla_bashrc
{% block base_pip_conf %}
-# the variables like PIP_INDEX_URL, PIP_EXTRA_INDEX_URL, PIP_TRUSTED_HOST etc. should be defined here.
-# ENV PIP_INDEX_URL=https://pypi.python.org/simple
-# ENV PIP_TRUSTED_HOST=pypi.python.org
+# pip build-time settings (PIP_INDEX_URL, PIP_TRUSTED_HOST, PIP_EXTRA_INDEX_URL) are
+# injected as ARG instructions by kolla-build and passed via --build-arg, so they do
+# not persist in the final image. Override this block to add further pip configuration.
{% endblock %}
{{ macros.kolla_patch_sources() }}