Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
FROM golang:1.15.2
FROM golang:latest

ENV GO111MODULE=on

RUN apt-get update && \
apt-get -y install jq && \
go get -u \
github.com/kisielk/errcheck \
golang.org/x/tools/cmd/goimports \
golang.org/x/lint/golint \
github.com/securego/gosec/cmd/gosec \
golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow \
honnef.co/go/tools/cmd/staticcheck
go install github.com/kisielk/errcheck@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
go install golang.org/x/lint/golint@latest && \
go install github.com/securego/gosec/cmd/gosec@latest && \
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest && \
go install honnef.co/go/tools/cmd/staticcheck@latest

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]