Skip to content

Commit 6ed91cb

Browse files
committed
Chore(build): Fix the go build by providing -buildvcs=false flag
Signed-off-by: uditgaurav <udit@chaosnative.com>
1 parent d344182 commit 6ed91cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN export GOOS=$(echo ${TARGETPLATFORM} | cut -d / -f1) && \
1414

1515
RUN go env
1616

17-
RUN CGO_ENABLED=0 go build -o /output/chaos-operator -v ./cmd/manager/
17+
RUN CGO_ENABLED=0 go build -buildvcs=false -o /output/chaos-operator -v ./cmd/manager/
1818

1919
# Packaging stage
2020
# Image source: https://github.com/litmuschaos/test-tools/blob/master/custom/hardened-alpine/infra/Dockerfile

0 commit comments

Comments
 (0)