Skip to content

Commit ab66015

Browse files
authored
Merge pull request #407 from uditgaurav/update_build_flag
Chore(build): Fix the go build by providing -buildvcs=false flag
2 parents d344182 + 6ed91cb commit ab66015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)