From e59821ea44f93871028c7f937f821b286db0127b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Adamski?= Date: Sat, 1 Feb 2025 08:57:10 +0100 Subject: [PATCH] remove buildid also in the docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1726d53..7d94b42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY go.mod go.sum ./ RUN go mod download COPY *.go ./ -RUN CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath +RUN CGO_ENABLED=0 go build -ldflags="-s -w -buildid=" -trimpath # build runner FROM scratch