mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 20:17:21 -04:00
Fix Dockerfile
Mage uses git, so we should install git before run mage. Closes #9261
This commit is contained in:
parent
657d0272e3
commit
8a005538db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user