Skip to content

Fix CentOS6 Docker build: replace wget with curl for git source download#4308

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-workflow-centos6
Draft

Fix CentOS6 Docker build: replace wget with curl for git source download#4308
Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-workflow-centos6

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 14, 2026

The CentOS6 Docker image build was failing because wget returned exit code 8 (server error response) when downloading the git 2.15.0 source tarball from kernel.org.

Changes

  • roles/GIT_Source/tasks/main.yml: Replace wget -q -O with curl -fsSL -o in the CentOS 6-specific git source download task
# Before
shell: "wget -q -O /tmp/git-2.15.0.tar.xz https://www.kernel.org/pub/software/scm/git/git-2.15.0.tar.xz"

# After
shell: "curl -fsSL -o /tmp/git-2.15.0.tar.xz https://www.kernel.org/pub/software/scm/git/git-2.15.0.tar.xz"

curl is already used successfully throughout the CentOS6-Cent7SSL role (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
    • Triggering command: /usr/bin/curl curl -sIL REDACTED (dns block)
  • www.kernel.org
    • Triggering command: /usr/bin/curl curl -sI REDACTED (dns block)
    • Triggering command: /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:

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
Copilot AI requested a review from karianna April 14, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants