Skip to content

Commit fbf2867

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

File tree

14 files changed

+94
-5
lines changed

14 files changed

+94
-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
@@ -135,6 +135,11 @@ ARG TARGETARCH
135135
USER 0
136136
WORKDIR /tmp/build-wheels
137137

138+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
139+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
140+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
141+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
142+
138143
# Build pyarrow on ppc64le and s390x
139144
RUN --mount=type=cache,target=/root/.cache/pip \
140145
--mount=type=cache,target=/var/cache/dnf,sharing=locked,id=notebooks-dnf /bin/bash <<'EOF'

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/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

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ ARG TRUSTYAI_SOURCE_CODE=jupyter/trustyai/ubi9-python-3.12
166166

167167
ENV LD_LIBRARY_PATH=/usr/lib:/usr/lib64${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
168168

169+
### BEGIN RHAIENG-2189: this is AIPCC migration phase 1.5
170+
ENV PIP_EXTRA_INDEX_URL=https://pypi.org/simple
171+
ENV UV_EXTRA_INDEX_URL=https://pypi.org/simple
172+
### END RHAIENG-2189: this is AIPCC migration phase 1.5
173+
169174
LABEL name="odh-notebook-jupyter-trustyai-ubi9-python-3.12" \
170175
summary="Jupyter trustyai notebook image for ODH notebooks" \
171176
description="Jupyter trustyai notebook image with base Python 3.12 builder image based on UBI9 for ODH notebooks" \

0 commit comments

Comments
 (0)