Merge pull request #922 from Dominik-K/patch-1

Dockerfile.alpine: add Git & Mercurial
This commit is contained in:
Aleksandr Razumov 2020-02-05 22:43:09 +03:00 committed by GitHub
commit b7bff48413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,9 @@ FROM golang:1.13-alpine
# required to support cgo
RUN apk --no-cache add gcc musl-dev
# needed most times for `go get`, etc. See https://github.com/docker-library/golang/issues/80
RUN apk add --no-cache git mercurial
# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume
COPY golangci-lint /usr/bin/
CMD ["golangci-lint"]