golang-build/Dockerfile
renovate 1f4a44acb3
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
chore(deps): update dependency golang to v1.19
2022-08-03 12:03:23 +00:00

7 lines
269 B
Docker

FROM golang:1.19-alpine
ENV GO111MODULE=on
RUN apk --no-cache add build-base git && \
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