mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Fix Dockerfile
Mage uses git, so we should install git before run mage. Closes #9261
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user