Skip to content

Commit b7bff48

Browse files
authored
Merge pull request #922 from Dominik-K/patch-1
Dockerfile.alpine: add Git & Mercurial
2 parents f9d5832 + c0012e6 commit b7bff48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/Dockerfile.alpine

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ FROM golang:1.13-alpine
33
# required to support cgo
44
RUN apk --no-cache add gcc musl-dev
55

6+
# needed most times for `go get`, etc. See https://github.com/docker-library/golang/issues/80
7+
RUN apk add --no-cache git mercurial
8+
69
# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume
710
COPY golangci-lint /usr/bin/
811
CMD ["golangci-lint"]

0 commit comments

Comments
 (0)