docker-hugo/Dockerfile
Paolo Asperti e20d89911e
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
hugo version bump
2023-03-02 11:50:53 +01:00

12 lines
306 B
Docker

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