Skip to content

Commit 7bb40ca

Browse files
jesuinojiridanek
authored andcommitted
Disabling Elyra Packages Install
1 parent d18f1d7 commit 7bb40ca

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
@@ -391,6 +391,8 @@ COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
391391
# Download Elyra Bootstrapper
392392
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
393393
-o ./utils/bootstrapper.py
394+
# Prevent Elyra from re-installing the dependencies
395+
ENV ELYRA_INSTALL_PACKAGES="false"
394396

395397
RUN --mount=type=cache,target=/root/.cache/pip /bin/bash <<'EOF'
396398
set -Eeuxo pipefail

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

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

9698
RUN /bin/bash <<'EOF'
9799
set -Eeuxo pipefail

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

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

9193
RUN /bin/bash <<'EOF'
9294
set -Eeuxo pipefail

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

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

9193
RUN /bin/bash <<'EOF'
9294
set -Eeuxo pipefail

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8585
# Download Elyra Bootstrapper
8686
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8787
-o ./utils/bootstrapper.py
88+
# Prevent Elyra from re-installing the dependencies
89+
ENV ELYRA_INSTALL_PACKAGES="false"
90+
8891
# Copy utility script
8992
COPY ${PYTORCH_SOURCE_CODE}/de-vendor-torch.sh ./
9093

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

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

9092
RUN /bin/bash <<'EOF'
9193
set -Eeuxo pipefail

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

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

9496
RUN /bin/bash <<'EOF'
9597
set -Eeuxo pipefail

0 commit comments

Comments
 (0)