Skip to content

Commit 8c16c4d

Browse files
committed
Flagging curl to fail when it can't download bootstrapper.py
1 parent bbac203 commit 8c16c4d

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
@@ -353,7 +353,7 @@ COPY ${DATASCIENCE_SOURCE_CODE}/pylock.toml ./
353353
# Copy Elyra dependencies for air-gapped enviroment
354354
COPY --chown=1001 ${DATASCIENCE_SOURCE_CODE}/utils ./utils/
355355
# Download Elyra Bootstrapper
356-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
356+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
357357
-o ./utils/bootstrapper.py
358358
# Prevent Elyra from re-installing the dependencies
359359
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
@@ -78,7 +78,7 @@ COPY ${MINIMAL_SOURCE_CODE}/pylock.toml ./
7878
# Copy Elyra dependencies for air-gapped enviroment
7979
COPY --chown=1001 ${MINIMAL_SOURCE_CODE}/utils ./utils/
8080
# Download Elyra Bootstrapper
81-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
81+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
8282
-o ./utils/bootstrapper.py
8383
# Prevent Elyra from re-installing the dependencies
8484
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
@@ -72,7 +72,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
7272
# Copy Elyra dependencies for air-gapped enviroment
7373
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7474
# Download Elyra Bootstrapper
75-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
75+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7676
-o ./utils/bootstrapper.py
7777
# Prevent Elyra from re-installing the dependencies
7878
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
@@ -72,7 +72,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
7272
# Copy Elyra dependencies for air-gapped enviroment
7373
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7474
# Download Elyra Bootstrapper
75-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
75+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7676
-o ./utils/bootstrapper.py
7777
# Prevent Elyra from re-installing the dependencies
7878
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
@@ -70,7 +70,7 @@ COPY ${PYTORCH_SOURCE_CODE}/pylock.toml ./
7070
# Copy Elyra dependencies for air-gapped enviroment
7171
COPY --chown=1001 ${PYTORCH_SOURCE_CODE}/utils ./utils/
7272
# Download Elyra Bootstrapper
73-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
73+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7474
-o ./utils/bootstrapper.py
7575
# Prevent Elyra from re-installing the dependencies
7676
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
@@ -71,7 +71,7 @@ COPY ${TENSORFLOW_SOURCE_CODE}/pylock.toml ./
7171
# Copy Elyra dependencies for air-gapped enviroment
7272
COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
7373
# Download Elyra Bootstrapper
74-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
74+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7575
-o ./utils/bootstrapper.py
7676
# Prevent Elyra from re-installing the dependencies
7777
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
@@ -75,7 +75,7 @@ COPY ${TENSORFLOW_SOURCE_CODE}/pylock.toml ./
7575
# Copy Elyra dependencies for air-gapped enviroment
7676
COPY --chown=1001 ${TENSORFLOW_SOURCE_CODE}/utils ./utils/
7777
# Download Elyra Bootstrapper
78-
RUN curl -L https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
78+
RUN curl -fL https://raw.githubusercontent.com/opendatahub-io/elyra/refs/tags/v4.3.1/elyra/kfp/bootstrapper.py \
7979
-o ./utils/bootstrapper.py
8080
# Prevent Elyra from re-installing the dependencies
8181
ENV ELYRA_INSTALL_PACKAGES="false"

0 commit comments

Comments
 (0)