Skip to content

Commit

Permalink
Merge pull request #249 from infosiftr/apache-mirrors
Browse files Browse the repository at this point in the history
Update Apache project mirrors
  • Loading branch information
yosifkit committed Jan 20, 2024
2 parents 883c215 + 89aed06 commit 26548a4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions 2.4/Dockerfile
Expand Up @@ -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 \
Expand Down

0 comments on commit 26548a4

Please sign in to comment.