golang-build/Dockerfile

5 lines
208 B
Docker
Raw Normal View History

FROM golang:1.18-buster
2022-08-02 20:59:10 +00:00
RUN go install github.com/magefile/mage@latest && \
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