Skip to content

Commit

Permalink
Merge branch 'master' into sr_skip_vuln_test_for_dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Rodriguez authored Mar 22, 2022
2 parents 871ffea + 7164868 commit f6c9546
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ RUN apk add -U build-base
COPY . .

# build binary
RUN CGO_ENABLED=${CGO_ENABLED_VAL} GOOS=${GOOS_VAL} GOARCH=${GOARCH_VAL} go build -v -ldflags "-w -s" -o /go/bin/terrascan ./cmd/terrascan
RUN apk update && apk add git && \
CGO_ENABLED=${CGO_ENABLED_VAL} GOOS=${GOOS_VAL} GOARCH=${GOARCH_VAL} go build -v -ldflags "-w -s" -o /go/bin/terrascan ./cmd/terrascan


# -------- prod stage -------- #
Expand Down

0 comments on commit f6c9546

Please sign in to comment.