2023-02-14 00:37:57 +00:00
|
|
|
FROM debian:11-slim
|
2022-10-02 14:55:45 +00:00
|
|
|
|
2023-04-27 13:30:49 +00:00
|
|
|
ARG HUGO_VERSION=0.111.3
|
2023-02-14 00:46:59 +00:00
|
|
|
ARG HUGO_ARCH=amd64
|
2022-12-26 10:42:13 +00:00
|
|
|
|
2023-02-14 00:46:59 +00:00
|
|
|
ADD "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-${HUGO_ARCH}.deb" /tmp/hugo.deb
|
2022-10-02 14:55:45 +00:00
|
|
|
|
2023-02-14 00:37:57 +00:00
|
|
|
RUN \
|
|
|
|
apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/hugo" ]
|