We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7bff48 commit 536a4f0Copy full SHA for 536a4f0
build/Dockerfile.alpine
@@ -1,10 +1,9 @@
1
FROM golang:1.13-alpine
2
3
-# required to support cgo
4
-RUN apk --no-cache add gcc musl-dev
5
-
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
+# gcc is required to support cgo;
+# git and mercurial are needed most times for go get`, etc.
+# See https://github.com/docker-library/golang/issues/80
+RUN apk --no-cache add gcc musl-dev git mercurial
8
9
# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume
10
COPY golangci-lint /usr/bin/
0 commit comments