File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414# # BUILD ARGS ##
1515# ###############################################################################
1616# This build arg allows the specification of a custom Golang image.
17- ARG GOLANG_IMAGE=golang:1.17.4
17+ ARG GOLANG_IMAGE=golang:1.17.5
1818
1919# The distroless image on which the CPI manager image is built.
2020#
2121# Please do not use "latest". Explicit tags should be used to provide
22- # deterministic builds. This image doesn't have semantic version tags, but
23- # the fully-qualified image can be obtained by entering
24- # "gcr.io/distroless/static:latest" in a browser and then copying the
25- # fully-qualified image from the web page.
26- ARG DISTROLESS_IMAGE=gcr.io/distroless/static@sha256:1cc74da80bbf80d89c94e0c7fe22830aa617f47643f2db73f66c8bd5bf510b25
22+ # deterministic builds. Follow what kubernetes uses to build
23+ # kube-controller-manager, for example for 1.23.x:
24+ # https://github.com/kubernetes/kubernetes/blob/release-1.23/build/common.sh#L94
25+ ARG DISTROLESS_IMAGE=k8s.gcr.io/build-image/go-runner:v2.3.1-go1.17.5-bullseye.0
2726
2827# ###############################################################################
2928# # BUILD STAGE ##
You can’t perform that action at this time.
0 commit comments