2019-09-22 15:03:34 +00:00
|
|
|
FROM golang:1.13-alpine
|
2018-10-27 14:24:07 +00:00
|
|
|
ENV GO111MODULE=on
|
2020-09-03 13:30:17 +00:00
|
|
|
RUN apk --no-cache add build-base git && \
|
|
|
|
go install github.com/magefile/mage && \
|
|
|
|
mv /go/bin/mage /usr/local/go/bin # Since we're mounting the source we want to compile into /go, we will overlay the mage binary
|
|
|
|
|