Fix CentOS6 Docker build: replace wget with curl for git source download#4308
Draft
Copilot wants to merge 2 commits into
Draft
Fix CentOS6 Docker build: replace wget with curl for git source download#4308Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/adoptium/infrastructure/sessions/0baa39a9-e42c-46c5-a5a2-f00719ee294c Co-authored-by: karianna <180840+karianna@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflow for Centos6
Fix CentOS6 Docker build: replace wget with curl for git source download
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CentOS6 Docker image build was failing because
wgetreturned exit code 8 (server error response) when downloading the git 2.15.0 source tarball fromkernel.org.Changes
roles/GIT_Source/tasks/main.yml: Replacewget -q -Owithcurl -fsSL -oin the CentOS 6-specific git source download taskcurlis already used successfully throughout theCentOS6-Cent7SSLrole (which runs earlier in the playbook and updates OpenSSL/CA certs on CentOS 6), making this the consistent and proven download tool for this environment.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
mirrors.edge.kernel.org/usr/bin/curl curl -sIL REDACTED(dns block)www.kernel.org/usr/bin/curl curl -sI REDACTED(dns block)/usr/bin/curl curl -sIL REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either: