Skip to content

Commit 7bbd3f5

Browse files
committed
RHAIENG-2189: configure PIP_EXTRA_INDEX_URL (#2760)
1 parent 072dfcf commit 7bbd3f5

File tree

24 files changed

+217
-5
lines changed

24 files changed

+217
-5
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,13 @@ FROM ${BASE_IMAGE} AS cpu-base
7272

7373
WORKDIR /opt/app-root/bin
7474

75-
# RHAIENG-2189: this is AIPCC migration phase 1.5
75+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
7676
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
77+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
7778
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
79+
# https://docs.astral.sh/uv/reference/environment/#uv_index
80+
ENV UV_INDEX=https://pypi.org/simple
81+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
7882

7983
# OS Packages needs to be installed as root
8084
USER 0

jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,14 @@ ARG MINIMAL_SOURCE_CODE=jupyter/minimal/ubi9-python-3.12
268268

269269
WORKDIR /opt/app-root/bin
270270

271+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
272+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
273+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
274+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
275+
# https://docs.astral.sh/uv/reference/environment/#uv_index
276+
ENV UV_INDEX=https://pypi.org/simple
277+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
278+
271279
COPY ${JUPYTER_REUSABLE_UTILS} utils/
272280
COPY ${MINIMAL_SOURCE_CODE}/start-notebook.sh ./
273281

jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos
1111
####################
1212
FROM ${BASE_IMAGE} AS cpu-base
1313

14-
# RHAIENG-2189: this is AIPCC migration phase 1.5
14+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
1515
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
16+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
1617
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
18+
# https://docs.astral.sh/uv/reference/environment/#uv_index
19+
ENV UV_INDEX=https://pypi.org/simple
20+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
1721

1822
WORKDIR /opt/app-root/bin
1923

jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ ARG BASE_IMAGE
1010
####################
1111
FROM ${BASE_IMAGE} AS cuda-base
1212

13+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
14+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
15+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
16+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
17+
# https://docs.astral.sh/uv/reference/environment/#uv_index
18+
ENV UV_INDEX=https://pypi.org/simple
19+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
20+
1321
WORKDIR /opt/app-root/bin
1422

1523
# OS Packages needs to be installed as root

jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ ARG BASE_IMAGE
88
####################
99
FROM ${BASE_IMAGE} AS rocm-base
1010

11+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
12+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
13+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
14+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
15+
# https://docs.astral.sh/uv/reference/environment/#uv_index
16+
ENV UV_INDEX=https://pypi.org/simple
17+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
18+
1119
WORKDIR /opt/app-root/bin
1220

1321
# OS Packages needs to be installed as root

jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ ARG PYTORCH_SOURCE_CODE=jupyter/pytorch+llmcompressor/ubi9-python-3.12
141141

142142
WORKDIR /opt/app-root/bin
143143

144+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
145+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
146+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
147+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
148+
# https://docs.astral.sh/uv/reference/environment/#uv_index
149+
ENV UV_INDEX=https://pypi.org/simple
150+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
151+
144152
LABEL name="odh-notebook-jupyter-cuda-pytorch-llmcompressor-ubi9-python-3.12" \
145153
summary="Jupyter CUDA pytorch-llmcompressor notebook image for ODH notebooks" \
146154
description="Jupyter CUDA pytorch-llmcompressor notebook image with base Python 3.12 builder image based on UBI9 for ODH notebooks" \

jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ ARG PYTORCH_SOURCE_CODE=jupyter/pytorch/ubi9-python-3.12
141141

142142
WORKDIR /opt/app-root/bin
143143

144+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
145+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
146+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
147+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
148+
# https://docs.astral.sh/uv/reference/environment/#uv_index
149+
ENV UV_INDEX=https://pypi.org/simple
150+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
151+
144152
LABEL name="odh-notebook-jupyter-cuda-pytorch-ubi9-python-3.12" \
145153
summary="Jupyter CUDA pytorch notebook image for ODH notebooks" \
146154
description="Jupyter CUDA pytorch notebook image with base Python 3.12 builder image based on UBI9 for ODH notebooks" \

jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ ARG DATASCIENCE_SOURCE_CODE=jupyter/datascience/ubi9-python-3.12
109109

110110
WORKDIR /opt/app-root/bin
111111

112+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
113+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
114+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
115+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
116+
# https://docs.astral.sh/uv/reference/environment/#uv_index
117+
ENV UV_INDEX=https://pypi.org/simple
118+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
119+
112120
# OS Packages needs to be installed as root
113121
USER root
114122

jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ ARG DATASCIENCE_SOURCE_CODE=jupyter/datascience/ubi9-python-3.12
109109

110110
WORKDIR /opt/app-root/bin
111111

112+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
113+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
114+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
115+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
116+
# https://docs.astral.sh/uv/reference/environment/#uv_index
117+
ENV UV_INDEX=https://pypi.org/simple
118+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
119+
112120
# OS Packages needs to be installed as root
113121
USER root
114122

jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ ARG DATASCIENCE_SOURCE_CODE=jupyter/datascience/ubi9-python-3.12
111111

112112
WORKDIR /opt/app-root/bin
113113

114+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
115+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
116+
# UV_EXTRA_INDEX_URL is deprecated in favor of UV_INDEX
117+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
118+
# https://docs.astral.sh/uv/reference/environment/#uv_index
119+
ENV UV_INDEX=https://pypi.org/simple
120+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
121+
114122
# OS Packages needs to be installed as root
115123
USER root
116124

0 commit comments

Comments
 (0)