Skip to content

Commit fa448ac

Browse files
committed
RHAIENG-2189: configure PIP_INDEX_URL
1 parent f90c565 commit fa448ac

File tree

24 files changed

+144
-5
lines changed

24 files changed

+144
-5
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ 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
7777
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
78+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
7879

7980
# OS Packages needs to be installed as root
8081
USER 0

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
274+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
275+
271276
COPY ${JUPYTER_REUSABLE_UTILS} utils/
272277
COPY ${MINIMAL_SOURCE_CODE}/start-notebook.sh ./
273278

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ 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
1616
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
17+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
1718

1819
WORKDIR /opt/app-root/bin
1920

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
16+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
17+
1318
WORKDIR /opt/app-root/bin
1419

1520
# OS Packages needs to be installed as root

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
14+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
15+
1116
WORKDIR /opt/app-root/bin
1217

1318
# OS Packages needs to be installed as root

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
147+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
148+
144149
LABEL name="odh-notebook-jupyter-cuda-pytorch-llmcompressor-ubi9-python-3.12" \
145150
summary="Jupyter CUDA pytorch-llmcompressor notebook image for ODH notebooks" \
146151
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
147+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
148+
144149
LABEL name="odh-notebook-jupyter-cuda-pytorch-ubi9-python-3.12" \
145150
summary="Jupyter CUDA pytorch notebook image for ODH notebooks" \
146151
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
115+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
116+
112117
# OS Packages needs to be installed as root
113118
USER root
114119

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
115+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
116+
112117
# OS Packages needs to be installed as root
113118
USER root
114119

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ 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+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
117+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
118+
114119
# OS Packages needs to be installed as root
115120
USER root
116121

0 commit comments

Comments
 (0)