mirror of
https://github.com/rclone/rclone.git
synced 2024-12-04 22:34:48 +01:00
12 lines
392 B
Docker
12 lines
392 B
Docker
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"]
|