Update Go version to 1.22.4

Includes fix for a symlink race on remove.
Updates 1.21 to 1.21.11 for runc install which also includes the
symlink fix.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2024-06-04 12:20:08 -07:00
parent 6005d839be
commit 1c123efb41
9 changed files with 11 additions and 11 deletions

View File

@@ -38,8 +38,8 @@ function install_runc() {
# https://github.com/opencontainers/runc/issues/4233
GO121DIR="${TMPROOT}"/go121
mkdir -p "${GO121DIR}"
GOBIN="${GO121DIR}" go install golang.org/dl/go1.21.9@latest
GO121="${GO121DIR}"/go1.21.9
GOBIN="${GO121DIR}" go install golang.org/dl/go1.21.11@latest
GO121="${GO121DIR}"/go1.21.11
$GO121 download
git clone "${RUNC_REPO}" "${TMPROOT}"/runc
pushd "${TMPROOT}"/runc

View File

@@ -5,7 +5,7 @@
# lived test environment.
Set-MpPreference -DisableRealtimeMonitoring:$true
$PACKAGES= @{ mingw = "10.2.0"; git = ""; golang = "1.22.3"; make = ""; nssm = "" }
$PACKAGES= @{ mingw = "10.2.0"; git = ""; golang = "1.22.4"; make = ""; nssm = "" }
Write-Host "Downloading chocolatey package"
curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip'