docker-hugo/Dockerfile

10 lines
285 B
Docker
Raw Normal View History

2022-10-02 14:55:45 +00:00
FROM alpine:edge
2023-02-14 00:09:32 +00:00
ARG HUGO_VERSION=0.110.0
2022-12-26 10:42:13 +00:00
2022-10-02 14:55:45 +00:00
RUN \
2023-02-14 00:20:25 +00:00
apk -U add wget libgcc libstdc++ && \
2023-02-14 00:09:24 +00:00
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
2022-10-02 14:55:45 +00:00
ENTRYPOINT [ "/usr/bin/hugo" ]