From 8a005538db5789e25ba2b092104b6cc53c6c1ece Mon Sep 17 00:00:00 2001 From: hitzhangjie Date: Sun, 12 Dec 2021 21:45:08 +0800 Subject: [PATCH] Fix Dockerfile Mage uses git, so we should install git before run mage. Closes #9261 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 473296ad0..fcae03f54 100755 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ COPY . /go/src/github.com/gohugoio/hugo/ # gcc/g++ are required to build SASS libraries for extended version RUN apk update && \ - apk add --no-cache gcc g++ musl-dev && \ + apk add --no-cache gcc g++ musl-dev git && \ go get github.com/magefile/mage RUN mage hugo && mage install