From 1b5d0e2bdd1972d49842077da0433dd8ca8e5fca Mon Sep 17 00:00:00 2001 From: Jack Meixensperger Date: Wed, 16 Sep 2026 11:53:41 -0700 Subject: [PATCH] add retries --- splunk/common-files/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/splunk/common-files/Dockerfile b/splunk/common-files/Dockerfile index 809c09c3..852a6ee8 100644 --- a/splunk/common-files/Dockerfile +++ b/splunk/common-files/Dockerfile @@ -22,8 +22,8 @@ ARG SPLUNK_BUILD_URL COPY splunk/common-files/make-minimal-exclude.py /tmp RUN python /tmp/make-minimal-exclude.py ${SPLUNK_BUILD_URL} > /tmp/splunk-minimal-exclude.list \ && echo "Downloading Splunk and validating the checksum at: ${SPLUNK_BUILD_URL}" \ - && wget -qO /tmp/`basename ${SPLUNK_BUILD_URL}` ${SPLUNK_BUILD_URL} \ - && wget -qO /tmp/splunk.tgz.sha512 ${SPLUNK_BUILD_URL}.sha512 \ + && wget -t 5 --waitretry=5 --retry-on-http-error=500,502,503,504 -qO /tmp/`basename ${SPLUNK_BUILD_URL}` ${SPLUNK_BUILD_URL} \ + && wget -t 5 --waitretry=5 --retry-on-http-error=500,502,503,504 -qO /tmp/splunk.tgz.sha512 ${SPLUNK_BUILD_URL}.sha512 \ && cd /tmp \ && echo "$(cat /tmp/splunk.tgz.sha512)" | sha512sum --check --status \ && rm /tmp/splunk.tgz.sha512 \