Skip to content

Commit

Permalink
Merge pull request #48 from coinbase/pin-gosec
Browse files Browse the repository at this point in the history
Pin to gosec 1.2.0
  • Loading branch information
nishils authored Apr 18, 2019
2 parents 469e5b6 + cdf413e commit 9a34a0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ RUN bundle exec bundle-audit update
RUN go get github.com/svent/sift

# Install gosec, static code vulnerability checker
RUN go get -d github.com/securego/gosec/cmd/gosec/...
# The commit hashes to gosec tag 1.2.0
RUN cd $GOPATH/src/github.com/securego/gosec/ && git checkout 2695567487c0f23a8f152b9740571d9a0f08f243 && cd /home
RUN go get github.com/securego/gosec/cmd/gosec/...

# Make repo directory to copy go project into when running gosec
Expand Down

0 comments on commit 9a34a0b

Please sign in to comment.