aboutsummaryrefslogtreecommitdiff
path: root/kolla/docker/base/Dockerfile.j2
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2026-07-30 21:22:19 +0000
committerGerrit Code Review <review@openstack.org>2026-07-30 21:22:19 +0000
commit495b6b8fe437a06f32575b7308192ffc4f76f7b9 (patch)
tree2a3e1131ae44f7376ed92f2610d9409597f5a0df /kolla/docker/base/Dockerfile.j2
parent4b869009c3336ab0f68353e71fcef30dd4cf44b3 (diff)
parent71867b8e57273ffcc26f4fedd84919b2608da3f2 (diff)
downloadkolla-495b6b8fe437a06f32575b7308192ffc4f76f7b9.tar.gz
kolla-495b6b8fe437a06f32575b7308192ffc4f76f7b9.zip
Merge "Move PIP_* env variables to ARG and config"
Diffstat (limited to 'kolla/docker/base/Dockerfile.j2')
-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() }}