Add git to the hugo container
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Nikolai Rodionov 2024-10-01 17:03:17 +02:00
parent 299d299453
commit c8b0789d24
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -12,6 +12,7 @@ RUN mkdir /out && mv /tmp/hugo /out/hugo
RUN chmod +x /out/hugo
FROM registry.hub.docker.com/library/debian
RUN apt-get update && apt-get install git
ENV HUGO_BIND=0.0.0.0
ENV HUGO_DESTINATION=public
COPY --from=builder /out/hugo /usr/bin/hugo