Skip to content

Commit bbac203

Browse files
committed
Disabling Elyra Packages Install
1 parent 38a02b0 commit bbac203

File tree

7 files changed

+15
-0
lines changed

7 files changed

+15
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
355355
# Download Elyra Bootstrapper
356356
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
357357
-o ./utils/bootstrapper.py
358+
# Prevent Elyra from re-installing the dependencies
359+
ENV ELYRA_INSTALL_PACKAGES="false"
358360

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ COPY --chown=1001 ${MINIMAL_SOURCE_CODE}/utils ./utils/
8080
# Download Elyra Bootstrapper
8181
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8282
-o ./utils/bootstrapper.py
83+
# Prevent Elyra from re-installing the dependencies
84+
ENV ELYRA_INSTALL_PACKAGES="false"
8385

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7474
# Download Elyra Bootstrapper
7575
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7676
-o ./utils/bootstrapper.py
77+
# Prevent Elyra from re-installing the dependencies
78+
ENV ELYRA_INSTALL_PACKAGES="false"
7779

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7474
# Download Elyra Bootstrapper
7575
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7676
-o ./utils/bootstrapper.py
77+
# Prevent Elyra from re-installing the dependencies
78+
ENV ELYRA_INSTALL_PACKAGES="false"
7779

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7272
# Download Elyra Bootstrapper
7373
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7474
-o ./utils/bootstrapper.py
75+
# Prevent Elyra from re-installing the dependencies
76+
ENV ELYRA_INSTALL_PACKAGES="false"
77+
7578
# Copy utility script
7679
COPY ${PYTORCH_SOURCE_CODE}/de-vendor-torch.sh ./
7780

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
7373
# Download Elyra Bootstrapper
7474
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7575
-o ./utils/bootstrapper.py
76+
# Prevent Elyra from re-installing the dependencies
77+
ENV ELYRA_INSTALL_PACKAGES="false"
7678

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
7777
# Download Elyra Bootstrapper
7878
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7979
-o ./utils/bootstrapper.py
80+
# Prevent Elyra from re-installing the dependencies
81+
ENV ELYRA_INSTALL_PACKAGES="false"
8082

8183
RUN echo "Installing softwares and packages" && \
8284
# 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)