From 33829d39d28bcf789981ff20d660f466ee03aeef Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 3 Sep 2020 15:30:17 +0200 Subject: [PATCH] Move mage to seperate folder after installing --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 47757b3..a92ce23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 +