From c0012e645b8953bf8e8187abfbaecdf127995b28 Mon Sep 17 00:00:00 2001 From: Dominik-K Date: Mon, 13 Jan 2020 18:55:27 +0100 Subject: [PATCH] Dockerfile.alpine: install Git & Mercurial --- build/Dockerfile.alpine | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/Dockerfile.alpine b/build/Dockerfile.alpine index 7128dd8d..a895a1b3 100644 --- a/build/Dockerfile.alpine +++ b/build/Dockerfile.alpine @@ -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"]