rclone/vendor/storj.io/drpc/Dockerfile.jenkins

12 lines
392 B
Text
Raw Normal View History

2020-05-11 18:57:46 +00:00
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"]