diff --git a/apps/private-location/Dockerfile b/apps/private-location/Dockerfile index 381c08195..6ab021a35 100644 --- a/apps/private-location/Dockerfile +++ b/apps/private-location/Dockerfile @@ -3,33 +3,30 @@ # See https://github.com/lenra-io/dofigen # builder -FROM golang@sha256:51a7c389a5ddaf82f527191a1e9bff9928655130a44e4975dd1d7e0acf59f1ae AS builder -ARG TARGETARCH -ARG TARGETOS +FROM golang@sha256:dc9ad6c05acc7a88e5b71bde60a5fe3bd4b9f0db209011711b464107438a8107 AS builder LABEL \ - org.opencontainers.image.base.digest="sha256:51a7c389a5ddaf82f527191a1e9bff9928655130a44e4975dd1d7e0acf59f1ae" \ - org.opencontainers.image.base.name="docker.io/golang:1.26-alpine" \ + org.opencontainers.image.base.digest="sha256:dc9ad6c05acc7a88e5b71bde60a5fe3bd4b9f0db209011711b464107438a8107" \ + org.opencontainers.image.base.name="docker.io/golang:1.26-bookworm" \ org.opencontainers.image.stage="builder" ENV \ - CGO_ENABLED="0" \ - TZ="UTC" + TZ="UTC" \ + CGO_ENABLED="1" WORKDIR /go/src/app COPY \ --link \ "." "." RUN <