From 86540557a3f2b27cfe892565fc096bb0898fff3f Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 3 Aug 2022 13:50:16 +0200 Subject: [PATCH] feat: switch back to apline image --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d2dfaa..a5cdea2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM golang:1.18-buster -RUN go install github.com/magefile/mage@latest && \ +FROM golang:1.18-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