Move mage to seperate folder after installing
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-09-03 15:30:17 +02:00
parent f6e89d2876
commit 33829d39d2
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
FROM golang:1.13-alpine
ENV GO111MODULE=on
RUN apk --no-cache add build-base git && go install github.com/magefile/mage
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