From 0cf46eb9f1c94e6fcf996850107b38e98d3c313d Mon Sep 17 00:00:00 2001 From: Ryan Noblett Date: Wed, 20 May 2026 04:22:29 -0400 Subject: [PATCH] Disable VCS stamping --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dc85b46..dd684f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN go mod download COPY . . ARG GIT_COMMIT=unknown ENV CGO_ENABLED=0 -RUN go build -trimpath -ldflags "-s -w -X main.commit=${GIT_COMMIT}" -o /tmp/demo-secure . +RUN go build -trimpath -buildvcs=false -ldflags "-s -w -X main.commit=${GIT_COMMIT}" -o /tmp/demo-secure . FROM registry.access.redhat.com/ubi9-minimal:latest LABEL org.opencontainers.image.title="demo-secure" \