hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 8a005538db5789e25ba2b092104b6cc53c6c1ece
parent 657d0272e31ddcfc66d92a534965749173f7ace3
Author: hitzhangjie <hit.zhangjie@gmail.com>
Date:   Sun, 12 Dec 2021 21:45:08 +0800

Fix Dockerfile

Mage uses git, so we should install git before run mage.

Closes #9261
Diffstat:
MDockerfile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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