mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
build: move to Go 1.21.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
5c7dd43a97
commit
50cb557cec
2
Makefile
2
Makefile
@ -182,7 +182,7 @@ terrascan:
|
|||||||
|
|
||||||
pre-pull:
|
pre-pull:
|
||||||
ifeq ($(TAG),devel)
|
ifeq ($(TAG),devel)
|
||||||
@$(BUILDER) pull golang:1.20-bullseye
|
@$(BUILDER) pull golang:1.21-bookworm
|
||||||
@$(BUILDER) pull debian:unstable-slim
|
@$(BUILDER) pull debian:unstable-slim
|
||||||
@$(BUILDER) pull ubuntu:22.04
|
@$(BUILDER) pull ubuntu:22.04
|
||||||
endif
|
endif
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
FROM ${GOLANG_BASE} as builder
|
FROM ${GOLANG_BASE} as builder
|
||||||
ARG DIR=/intel-device-plugins-for-kubernetes
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
##
|
##
|
||||||
## This is used on release branches before tagging a stable version.
|
## This is used on release branches before tagging a stable version.
|
||||||
## The main branch defaults to using the latest Golang base image.
|
## The main branch defaults to using the latest Golang base image.
|
||||||
ARG GOLANG_BASE=golang:1.20-bullseye
|
ARG GOLANG_BASE=golang:1.21-bookworm
|
||||||
###
|
###
|
||||||
|
Loading…
Reference in New Issue
Block a user