14 lines
381 B
Docker
14 lines
381 B
Docker
FROM debian:11-slim
|
|
|
|
ARG HUGO_VERSION=0.111.3
|
|
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 update && \
|
|
DEBIAN_FRONTEND=noninteractive apt -y upgrade && \
|
|
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/hugo" ]
|