Skip to content

Commit b490ab0

Browse files
committed
RHOAIENG-18582: Post ODH Elyra release (v4.3.0)
1 parent 44403ef commit b490ab0

File tree

14 files changed

+29
-5390
lines changed

14 files changed

+29
-5390
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ fi
245245
# Install Python packages from pylock.toml
246246
COPY ${DATASCIENCE_SOURCE_CODE}/pylock.toml ./
247247
# Copy Elyra dependencies for air-gapped enviroment
248-
COPY ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
248+
COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
249+
# Download Elyra Bootstrapper
250+
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
251+
-o ./utils/bootstrapper.py
249252

250253
RUN --mount=type=cache,target=/root/.cache/pip \
251254
echo "Installing softwares and packages" && \

runtimes/datascience/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 0 additions & 769 deletions
This file was deleted.

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,12 @@ WORKDIR /opt/app-root/bin
6868

6969
# Install Python packages from requirements.txt
7070
COPY ${MINIMAL_SOURCE_CODE}/pylock.toml ./
71+
7172
# Copy Elyra dependencies for air-gapped enviroment
72-
COPY ${MINIMAL_SOURCE_CODE}/utils ./utils/
73+
COPY --chown=1001 ${MINIMAL_SOURCE_CODE}/utils ./utils/
74+
# Download Elyra Bootstrapper
75+
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
76+
-o ./utils/bootstrapper.py
7377

7478
RUN echo "Installing softwares and packages" && \
7579
# This may have to download and compile some dependencies, and as we don't lock requirements from `build-system.requires`,

0 commit comments

Comments
 (0)