Skip to content

Commit e36123b

Browse files
authored
Merge pull request #525 from silvestre/fix-non-offline-buildpack-go-version
fix(online buildpack): Update Go version used for online buildpack
2 parents 9ebbab9 + cef9127 commit e36123b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scripts/install_go.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@ function main() {
1212
fi
1313

1414
local version expected_sha dir
15-
version="1.22.5"
16-
expected_sha="ddb12ede43eef214c7d4376761bd5ba6297d5fa7a06d5635ea3e7a276b3db730"
15+
version="1.25.6"
16+
expected_sha="0ed64e3b9cb9b1c2ec57880dae2427b0ee2676f2ae2fb53c2e1bb838c500f9fb"
1717
dir="/tmp/go${version}"
1818

1919
mkdir -p "${dir}"
2020

2121
if [[ ! -f "${dir}/bin/go" ]]; then
2222
local url
23-
# TODO: use exact stack based dep, after go buildpack has cflinuxfs4 support
24-
#url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_${CF_STACK}_${expected_sha:0:8}.tgz"
25-
url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_cflinuxfs3_${expected_sha:0:8}.tgz"
23+
url="https://buildpacks.cloudfoundry.org/dependencies/go/go_${version}_linux_x64_${CF_STACK}_${expected_sha:0:8}.tgz"
2624

2725
echo "-----> Download go ${version}"
2826
curl "${url}" \

0 commit comments

Comments
 (0)