docker-hugo/Dockerfile
Paolo Asperti 30b85c9950
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
migrate to debian slim
2023-02-14 01:37:57 +01:00

11 lines
279 B
Docker

FROM debian:11-slim
ARG HUGO_VERSION=0.110.0
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb" /tmp/hugo.deb
RUN \
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
ENTRYPOINT [ "/usr/local/bin/hugo" ]