Update Apache project mirrors

See https://apache.org/history/mirror-history.html
This commit is contained in:
Tianon Gravi 2024-01-16 10:41:26 -08:00
parent 883c2153d2
commit 89aed06823
1 changed files with 3 additions and 6 deletions

View File

@ -63,12 +63,9 @@ RUN set -eux; \
local success=; \
local distUrl=; \
for distUrl in \
# https://issues.apache.org/jira/browse/INFRA-8753?focusedCommentId=14735394#comment-14735394
'https://www.apache.org/dyn/closer.cgi?action=download&filename=' \
# if the version is outdated (or we're grabbing the .asc file), we might have to pull from the dist/archive :/
https://downloads.apache.org/ \
https://www-us.apache.org/dist/ \
https://www.apache.org/dist/ \
# https://apache.org/history/mirror-history.html
https://dlcdn.apache.org/ \
# if the version is outdated, we have to pull from the archive
https://archive.apache.org/dist/ \
; do \
if wget -O "$f" "$distUrl$distFile" && [ -s "$f" ]; then \