diff --git a/Dockerfile.hotfix b/Dockerfile.hotfix index 9f7ec0f3f..2acc641d4 100644 --- a/Dockerfile.hotfix +++ b/Dockerfile.hotfix @@ -1,10 +1,10 @@ -FROM golang:1.21-alpine as build +FROM golang:1.22-alpine as build ARG TARGETARCH ARG RELEASE -ENV GOPATH /go -ENV CGO_ENABLED 0 +ENV GOPATH=/go +ENV CGO_ENABLED=0 # Install curl and minisign RUN apk add -U --no-cache ca-certificates && \ diff --git a/Dockerfile.release b/Dockerfile.release index 545433f23..d94eb6127 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -1,10 +1,10 @@ -FROM golang:1.21-alpine as build +FROM golang:1.22-alpine AS build ARG TARGETARCH ARG RELEASE -ENV GOPATH /go -ENV CGO_ENABLED 0 +ENV GOPATH=/go +ENV CGO_ENABLED=0 # Install curl and minisign RUN apk add -U --no-cache ca-certificates && \ diff --git a/Dockerfile.release.fips b/Dockerfile.release.fips index b860dead5..8708e75af 100644 --- a/Dockerfile.release.fips +++ b/Dockerfile.release.fips @@ -1,10 +1,10 @@ -FROM golang:1.21-alpine as build +FROM golang:1.22-alpine AS build ARG TARGETARCH ARG RELEASE -ENV GOPATH /go -ENV CGO_ENABLED 0 +ENV GOPATH=/go +ENV CGO_ENABLED=0 # Install curl and minisign RUN apk add -U --no-cache ca-certificates && \ diff --git a/Dockerfile.release.old_cpu b/Dockerfile.release.old_cpu index 96cd8e968..f6742a4b8 100644 --- a/Dockerfile.release.old_cpu +++ b/Dockerfile.release.old_cpu @@ -1,10 +1,10 @@ -FROM golang:1.21-alpine as build +FROM golang:1.22-alpine AS build ARG TARGETARCH ARG RELEASE -ENV GOPATH /go -ENV CGO_ENABLED 0 +ENV GOPATH=/go +ENV CGO_ENABLED=0 # Install curl and minisign RUN apk add -U --no-cache ca-certificates && \