summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorhitzhangjie <hit.zhangjie@gmail.com>2021-12-12 21:45:08 +0800
committerGitHub <noreply@github.com>2021-12-12 14:45:08 +0100
commit8a005538db5789e25ba2b092104b6cc53c6c1ece (patch)
treef1b9ae5a8abcf5df5d9047f6d7b048a1c644cb96 /Dockerfile
parent657d0272e31ddcfc66d92a534965749173f7ace3 (diff)
Fix Dockerfile
Mage uses git, so we should install git before run mage. Closes #9261
Diffstat (limited to 'Dockerfile')
-rwxr-xr-xDockerfile2
1 files changed, 1 insertions, 1 deletions
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