File tree Expand file tree Collapse file tree 7 files changed +15
-0
lines changed
datascience/ubi9-python-3.12
pytorch+llmcompressor/ubi9-python-3.12
rocm-pytorch/ubi9-python-3.12
rocm-tensorflow/ubi9-python-3.12
tensorflow/ubi9-python-3.12 Expand file tree Collapse file tree 7 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -391,6 +391,8 @@ COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
391391# Download Elyra Bootstrapper
392392RUN 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
395397RUN --mount=type=cache,target=/root/.cache/pip /bin/bash <<'EOF'
396398set -Eeuxo pipefail
Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ COPY --chown=1001 ${MINIMAL_SOURCE_CODE}/utils ./utils/
9292# Download Elyra Bootstrapper
9393RUN 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
9698RUN /bin/bash <<'EOF'
9799set -Eeuxo pipefail
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8787# Download Elyra Bootstrapper
8888RUN 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
9193RUN /bin/bash <<'EOF'
9294set -Eeuxo pipefail
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8787# Download Elyra Bootstrapper
8888RUN 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
9193RUN /bin/bash <<'EOF'
9294set -Eeuxo pipefail
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8585# Download Elyra Bootstrapper
8686RUN 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
8992COPY ${PYTORCH_SOURCE_CODE}/de-vendor-torch.sh ./
9093
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
8686# Download Elyra Bootstrapper
8787RUN 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
9092RUN /bin/bash <<'EOF'
9193set -Eeuxo pipefail
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
9090# Download Elyra Bootstrapper
9191RUN 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
9496RUN /bin/bash <<'EOF'
9597set -Eeuxo pipefail
You can’t perform that action at this time.
0 commit comments