File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ RUN ARCH=$(dpkg --print-architecture) && \
164164 arm64) PLATFORM=linux-arm64 ;; \
165165 *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
166166 esac && \
167- curl -fsSL "https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.${PLATFORM}.tar.gz" \
167+ curl -fsSL --retry 5 --retry-delay 5 "https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.${PLATFORM}.tar.gz" \
168168 | tar -xz -C /tmp && \
169169 mv "/tmp/prometheus-${PROM_VERSION}.${PLATFORM}/prometheus" /usr/local/bin/ && \
170170 chmod +x /usr/local/bin/prometheus && \
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ RUN ARCH=$(dpkg --print-architecture) && \
227227 arm64) PLATFORM=linux-arm64 ;; \
228228 *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
229229 esac && \
230- curl -fsSL "https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.${PLATFORM}.tar.gz" \
230+ curl -fsSL --retry 5 --retry-delay 5 "https://github.com/prometheus/prometheus/releases/download/v${PROM_VERSION}/prometheus-${PROM_VERSION}.${PLATFORM}.tar.gz" \
231231 | tar -xz -C /tmp && \
232232 mv "/tmp/prometheus-${PROM_VERSION}.${PLATFORM}/prometheus" /usr/local/bin/ && \
233233 chmod +x /usr/local/bin/prometheus && \
You can’t perform that action at this time.
0 commit comments