docker-hugo/Dockerfile

10 lines
268 B
Docker

FROM alpine:edge
ARG HUGO_VERSION=0.109.0
RUN \
apk -U add wget && \
wget -O - "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin
ENTRYPOINT [ "/usr/bin/hugo" ]