2022-03-16 01:07:26 +00:00
|
|
|
FROM golang:1.18-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 && \
|
2021-05-07 10:28:54 +00:00
|
|
|
go install github.com/magefile/mage@latest && \
|
2020-09-03 13:30:17 +00:00
|
|
|
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
|
|
|
|
|