diff options
author | hitzhangjie <hit.zhangjie@gmail.com> | 2021-12-12 21:45:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-12 14:45:08 +0100 |
commit | 8a005538db5789e25ba2b092104b6cc53c6c1ece (patch) | |
tree | f1b9ae5a8abcf5df5d9047f6d7b048a1c644cb96 | |
parent | 657d0272e31ddcfc66d92a534965749173f7ace3 (diff) |
Fix Dockerfile
Mage uses git, so we should install git before run mage.
Closes #9261
-rwxr-xr-x | Dockerfile | 2 |
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 |