Skip to content

Commit

Permalink
Merge pull request #171 from uditgaurav/update_build_flag
Browse files Browse the repository at this point in the history
Chore(build): Fix the go build by providing -buildvcs=false flag
  • Loading branch information
uditgaurav authored Apr 16, 2022
2 parents d7c558b + a1d0e0e commit fb1776f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN export GOOS=$(echo ${TARGETPLATFORM} | cut -d / -f1) && \

RUN go env

RUN CGO_ENABLED=0 go build -o /output/chaos-runner -v ./bin
RUN CGO_ENABLED=0 go build -buildvcs=false -o /output/chaos-runner -v ./bin

# Packaging stage
# Image source: https://github.com/litmuschaos/test-tools/blob/master/custom/hardend-alpine/control-plane/Dockerfile
Expand Down

0 comments on commit fb1776f

Please sign in to comment.