remove buildid also in the docker build

This commit is contained in:
Michał Adamski
2025-02-01 08:57:10 +01:00
parent 19ec50c5f0
commit e59821ea44

View File

@@ -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