From: hitzhangjie Date: Sun, 12 Dec 2021 13:45:08 +0000 (+0800) Subject: Fix Dockerfile X-Git-Tag: v0.91.0~14 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8a005538db5789e25ba2b092104b6cc53c6c1ece;p=brevno-suite%2Fhugo Fix Dockerfile Mage uses git, so we should install git before run mage. Closes #9261 --- diff --git a/Dockerfile b/Dockerfile index 473296ad..fcae03f5 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