Go 1.21.0
https://go.dev/doc/go1.21 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
		@@ -29,7 +29,7 @@
 | 
			
		||||
#   docker run --privileged containerd-test
 | 
			
		||||
# ------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
ARG GOLANG_VERSION=1.20.7
 | 
			
		||||
ARG GOLANG_VERSION=1.21.0
 | 
			
		||||
ARG GOLANG_IMAGE=golang
 | 
			
		||||
 | 
			
		||||
FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang
 | 
			
		||||
 
 | 
			
		||||
@@ -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.19.5.linux-amd64.tar.gz
 | 
			
		||||
wget --quiet https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
 | 
			
		||||
 | 
			
		||||
mkdir temp-go
 | 
			
		||||
rm -rf /root/.go/*
 | 
			
		||||
tar -C temp-go/ -xzf go1.19.5.linux-amd64.tar.gz
 | 
			
		||||
tar -C temp-go/ -xzf go1.21.0.linux-amd64.tar.gz
 | 
			
		||||
mv temp-go/go/* /root/.go/
 | 
			
		||||
cd $SRC/containerd
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user