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

@@ -29,7 +29,7 @@
# docker run --privileged containerd-test
# ------------------------------------------------------------------------------
ARG GOLANG_VERSION=1.22.3
ARG GOLANG_VERSION=1.22.4
ARG GOLANG_IMAGE=golang
FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang

View File

@@ -43,11 +43,11 @@ go run main.go --target_dir $SRC/containerd/images
apt-get update && apt-get install -y wget
cd $SRC
wget --quiet https://go.dev/dl/go1.22.3.linux-amd64.tar.gz
wget --quiet https://go.dev/dl/go1.22.4.linux-amd64.tar.gz
mkdir temp-go
rm -rf /root/.go/*
tar -C temp-go/ -xzf go1.22.3.linux-amd64.tar.gz
tar -C temp-go/ -xzf go1.22.4.linux-amd64.tar.gz
mv temp-go/go/* /root/.go/
cd $SRC/containerd