rclone/vendor/storj.io/drpc/Dockerfile.jenkins
2020-05-12 15:56:50 +00:00

11 lines
392 B
Text

FROM golang:1.13.0
# Linters
RUN GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@2019.2.3
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ${GOPATH}/bin v1.23.1
# Set our entrypoint to close after 28 minutes, and forcefully close at 30 minutes.
# This is to prevent Jenkins collecting cats.
ENTRYPOINT ["timeout", "-k30m", "28m"]