Skip to content

Commit 598d714

Browse files
committed
update CURL_OPTIONS in Dockerfiles to have increased retry times downloads
1 parent 6c65bf4 commit 598d714

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.devcontainer/debian/12-bookworm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ ARG VULKAN_VERSION
5757

5858
ENV DEBIAN_FRONTEND=noninteractive \
5959
DEBCONF_NOWARNINGS="yes" \
60-
CURL_OPTIONS="--silent --show-error --retry 5 --location"
60+
CURL_OPTIONS="--silent --show-error --location --retry 5 --retry-all-errors --retry-delay 3 --retry-max-time 30 --fail"
6161

6262
WORKDIR /tmp
6363
RUN echo "Download Stage" && \

.devcontainer/debian/13-trixie/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ARG VULKAN_VERSION
7474

7575
ENV DEBIAN_FRONTEND=noninteractive \
7676
DEBCONF_NOWARNINGS="yes" \
77-
CURL_OPTIONS="--silent --show-error --retry 5 --location"
77+
CURL_OPTIONS="--silent --show-error --location --retry 5 --retry-all-errors --retry-delay 3 --retry-max-time 30 --fail"
7878

7979
WORKDIR /tmp
8080
RUN echo "Download Stage" && \

.devcontainer/debian/14-forky/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ARG VULKAN_VERSION
7474

7575
ENV DEBIAN_FRONTEND=noninteractive \
7676
DEBCONF_NOWARNINGS="yes" \
77-
CURL_OPTIONS="--silent --show-error --retry 5 --location"
77+
CURL_OPTIONS="--silent --show-error --location --retry 5 --retry-all-errors --retry-delay 3 --retry-max-time 30 --fail"
7878

7979
WORKDIR /tmp
8080
RUN echo "Download Stage" && \

.devcontainer/debian/sid-unstable/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ARG VULKAN_VERSION
7474

7575
ENV DEBIAN_FRONTEND=noninteractive \
7676
DEBCONF_NOWARNINGS="yes" \
77-
CURL_OPTIONS="--silent --show-error --retry 5 --location"
77+
CURL_OPTIONS="--silent --show-error --location --retry 5 --retry-all-errors --retry-delay 3 --retry-max-time 30 --fail"
7878

7979
WORKDIR /tmp
8080
RUN echo "Download Stage" && \

0 commit comments

Comments
 (0)