Skip to content

Commit 07fab70

Browse files
committed
build: move to Go 1.21.0
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 6861ef5 commit 07fab70

22 files changed

+22
-22
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pipeline {
1010
REG="cloud-native-image-registry.westus.cloudapp.azure.com/"
1111
K8S_VERSION="1.27.1"
1212
GOLANGCI_LINT_VERSION="v1.52.2"
13-
GO_VERSION="1.20.5"
13+
GO_VERSION="1.21.0"
1414
GO_TAR="go${GO_VERSION}.linux-amd64.tar.gz"
1515
GOROOT="/usr/local/go"
1616
GOPATH="/tmp/go"

build/docker/intel-deviceplugin-operator.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dlb-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.20-bullseye
36+
ARG GOLANG_BASE=golang:1.21-bookworm
3737
###
3838
FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dlb-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dsa-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-admissionwebhook.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.20-bullseye
36+
ARG GOLANG_BASE=golang:1.21-bookworm
3737
###
3838
FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-fakedev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.20-bullseye
37+
ARG GOLANG_BASE=golang:1.21-bookworm
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.20-bullseye
36+
ARG GOLANG_BASE=golang:1.21-bookworm
3737
###
3838
FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

0 commit comments

Comments
 (0)