diff --git a/Dockerfile b/Dockerfile index c7c15c0b5..dcd6b0eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21-alpine3.19 as build-env +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22-alpine3.19 as build-env ARG GOPROXY ENV GOPROXY ${GOPROXY:-direct} diff --git a/Dockerfile.rootless b/Dockerfile.rootless index bf3c92bbc..33b7c3c3e 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -1,6 +1,6 @@ FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21-alpine3.19 as build-env +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22-alpine3.19 as build-env ARG GOPROXY ENV GOPROXY ${GOPROXY:-direct}