File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55set -o pipefail
66
77function main() {
8- if [[ " ${CF_STACK:- } " != " cflinuxfs3" ]]; then
8+ if [[ " ${CF_STACK:- } " != " cflinuxfs3" && " ${CF_STACK :- } " != " cflinuxfs4 " ]]; then
99 echo " **ERROR** Unsupported stack"
1010 echo " See https://docs.cloudfoundry.org/devguide/deploy-apps/stacks.html for more info"
1111 exit 1
@@ -20,7 +20,9 @@ function main() {
2020
2121 if [[ ! -f " ${dir} /go/bin/go" ]]; then
2222 local url
23- url=" https://buildpacks.cloudfoundry.org/dependencies/go/go_${version} _linux_x64_${CF_STACK} _${expected_sha: 0: 8} .tgz"
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"
2426
2527 echo " -----> Download go ${version} "
2628 curl " ${url} " \
You can’t perform that action at this time.
0 commit comments