File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,12 @@ ENV ICEBERG_VERSION=1.9.1
4343ENV PYICEBERG_VERSION=0.10.0
4444
4545# Try the primary Apache mirror (downloads.apache.org) first, then fall back to the archive
46- # Use -f so curl fails on HTTP errors and && fallback with || to try the archive mirror.
4746RUN set -eux; \
4847 FILE=spark-${SPARK_VERSION}-bin-hadoop3.tgz; \
4948 URLS="https://downloads.apache.org/spark/spark-${SPARK_VERSION}/${FILE} https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${FILE}" ; \
5049 for url in $URLS; do \
5150 echo "Attempting download: $url" ; \
52- if curl --retry 5 --retry-delay 5 -f -s -C - "$url" -o "$FILE" ; then \
51+ if curl --retry 3 --retry-delay 5 -f -s -C - "$url" -o "$FILE" ; then \
5352 echo "Downloaded from: $url" ; \
5453 break; \
5554 else \
You can’t perform that action at this time.
0 commit comments