Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
Mage uses git, so we should install git before run mage.

Closes #9261
  • Loading branch information
hitzhangjie committed Dec 12, 2021
1 parent 657d027 commit 8a00553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a00553

Please sign in to comment.