mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ COPY . /go/src/github.com/gohugoio/hugo/
|
||||||
|
|
||||||
# gcc/g++ are required to build SASS libraries for extended version
|
# gcc/g++ are required to build SASS libraries for extended version
|
||||||
RUN apk update && \
|
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
|
go get github.com/magefile/mage
|
||||||
|
|
||||||
RUN mage hugo && mage install
|
RUN mage hugo && mage install
|
||||||
|
|
Loading…
Reference in a new issue