Skip to content

Commit b45378e

Browse files
jesuinojiridanek
authored andcommitted
Flagging curl to fail when it can't download bootstrapper.py
1 parent 7bb40ca commit b45378e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ COPY ${DATASCIENCE_SOURCE_CODE}/pylock.toml ./
389389
# Copy Elyra dependencies for air-gapped enviroment
390390
COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
391391
# Download Elyra Bootstrapper
392-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
392+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
393393
-o ./utils/bootstrapper.py
394394
# Prevent Elyra from re-installing the dependencies
395395
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ COPY ${MINIMAL_SOURCE_CODE}/pylock.toml ./
9090
# Copy Elyra dependencies for air-gapped enviroment
9191
COPY --chown=1001 ${MINIMAL_SOURCE_CODE}/utils ./utils/
9292
# Download Elyra Bootstrapper
93-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
93+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
9494
-o ./utils/bootstrapper.py
9595
# Prevent Elyra from re-installing the dependencies
9696
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
8585
# Copy Elyra dependencies for air-gapped enviroment
8686
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8787
# Download Elyra Bootstrapper
88-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
88+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8989
-o ./utils/bootstrapper.py
9090
# Prevent Elyra from re-installing the dependencies
9191
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
8585
# Copy Elyra dependencies for air-gapped enviroment
8686
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8787
# Download Elyra Bootstrapper
88-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
88+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8989
-o ./utils/bootstrapper.py
9090
# Prevent Elyra from re-installing the dependencies
9191
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
8383
# Copy Elyra dependencies for air-gapped enviroment
8484
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
8585
# Download Elyra Bootstrapper
86-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
86+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8787
-o ./utils/bootstrapper.py
8888
# Prevent Elyra from re-installing the dependencies
8989
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ COPY ${TENSORFLOW_SOURCE_CODE}/pylock.toml ./
8484
# Copy Elyra dependencies for air-gapped enviroment
8585
COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
8686
# Download Elyra Bootstrapper
87-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
87+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8888
-o ./utils/bootstrapper.py
8989
# Prevent Elyra from re-installing the dependencies
9090
ENV ELYRA_INSTALL_PACKAGES="false"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ COPY ${TENSORFLOW_SOURCE_CODE}/pylock.toml ./
8888
# Copy Elyra dependencies for air-gapped enviroment
8989
COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
9090
# Download Elyra Bootstrapper
91-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
91+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
9292
-o ./utils/bootstrapper.py
9393
# Prevent Elyra from re-installing the dependencies
9494
ENV ELYRA_INSTALL_PACKAGES="false"

0 commit comments

Comments
 (0)