cloudfoundry / cloudfoundry/go-buildpack

Newest golang buildpack version cannot install go

Open
#556 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
85
Forks
121
PR merge metrics
No merged PRs in 30d

Description

There is something wrong with the recent version of go binary dependencies that ./scripts/install_go.sh tries to install.
When curl fetches https://buildpacks.cloudfoundry.org/dependencies/go/go_1.25.6_linux_x64_cflinuxfs3_0ed64e3b.tgz to /tmp directory, the resulting output is XML message with access denied error, instead of go installation archive, like this:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>2EKSYXV0XD4A5G6F</RequestId><HostId>cvpIwKA...CwZGOwTxtOaw4=</HostId></Error>

This behavior is likely to break installation for users that rely on the newest version of buildpacks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ./scripts/install_go.sh and reproduce the curl request for the Go 1.25.6 archive URL. Check why the URL returns an AccessDenied XML response instead of the archive, then verify that the script can retrieve and install the newest Go dependency successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.