update to go 1.21.8, 1.22.1

See https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2024-03-06 06:30:26 +09:00
parent d9a867a076
commit 7ecdebff93
7 changed files with 8 additions and 8 deletions

View File

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

View File

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