1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add git to Dockerfile

Needed for GitInfo.
This commit is contained in:
Jaymo Kang
2020-02-14 07:49:20 -08:00
committed by GitHub
parent 9babb1f0c4
commit 75c3787fc2

View File

@ -33,7 +33,7 @@ COPY --from=build /go/bin/hugo /usr/bin/hugo
# libc6-compat & libstdc++ are required for extended SASS libraries
# ca-certificates are required to fetch outside resources (like Twitter oEmbeds)
RUN apk update && \
apk add --no-cache ca-certificates libc6-compat libstdc++
apk add --no-cache ca-certificates libc6-compat libstdc++ git
VOLUME /site
WORKDIR /site