@@ -5,7 +5,7 @@ ARG RUNTIME_IMAGE=gcr.io/distroless/static:nonroot
5# cache sharing of the go mod download step.
5# cache sharing of the go mod download step.
6# Go cross compilation is also faster than emulation the go compilation across
6# Go cross compilation is also faster than emulation the go compilation across
7# multiple platforms.
7# multiple platforms.
8−FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.21-bookworm AS builder
8+FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.22-bookworm AS builder
10# Copy sources
10# Copy sources
11WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
11WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy