Skip to content

Commit 89ef144

Browse files
committed
fix: update pip install command to include index-url for nexus authentication
1 parent c6a763c commit 89ef144

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/jenkins-agents/python/docker/Dockerfile.ubi9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN PACKAGES="virtualenv==20.26.3 setuptools==72.2.0 Cython==3.0.11 pypandoc==1.
3030
for pyVersion in 3.8 3.9 3.11 3.12; do \
3131
uv python install $pyVersion && \
3232
if [ -n "${nexusHost}" ] && [ -n "${nexusAuth}" ]; then \
33-
uv pip install --verbose --system --break-system-packages --python $pyVersion --trusted-host ${nexusHost} $PACKAGES; \
33+
uv pip install --verbose --system --break-system-packages --python $pyVersion --index-url https://${nexusAuth}@${nexusHost}/repository/pypi-all/simple --trusted-host ${nexusHost} $PACKAGES; \
3434
else \
3535
uv pip install --verbose --system --break-system-packages --python $pyVersion $PACKAGES; \
3636
fi; \

0 commit comments

Comments
 (0)