diff --git a/Dockerfile b/Dockerfile index c822a7cf..df69b64b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm AS builder +FROM golang:1.23-bookworm AS builder ENV GOFLAGS="-mod=readonly" diff --git a/Dockerfile.alpine b/Dockerfile.alpine index b653f293..90944c1d 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine3.20 AS builder +FROM golang:1.23-alpine3.20 AS builder ENV GOFLAGS="-mod=readonly" diff --git a/Dockerfile.distroless b/Dockerfile.distroless index ae62dccf..d77b19e9 100644 --- a/Dockerfile.distroless +++ b/Dockerfile.distroless @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm AS builder +FROM golang:1.23-bookworm AS builder ENV CGO_ENABLED=0 GOFLAGS="-mod=readonly"