Commit 72d1d5e
committed
Add cflinuxfs5 support to install_go.sh
Drop cflinuxfs3 from the stack allowlist, update Go from 1.22.5 to
1.25.6, and use the cflinuxfs4 binary with a cflinuxfs5 fallback.
This matches the pattern already used by nodejs, ruby, go, python,
staticfile, dotnet-core, and nginx buildpacks.
When deploying via git URL, CF runs bin/supply as a shell script which
sources scripts/install_go.sh to bootstrap Go compilation. The stack
check only allowed cflinuxfs3 and cflinuxfs4, causing cflinuxfs5
deployments to fail with 'Unsupported stack'.1 parent 4b2a72b commit 72d1d5e
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments