actions-hugo/Dockerfile
2019-09-06 03:07:42 +09:00

10 lines
337 B
Docker

FROM golang:1.13.0-buster
ENV HUGO_VERSION='0.58.0'
ENV HUGO_NAME="hugo_extended_${HUGO_VERSION}_Linux-64bit"
ENV HUGO_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_NAME}.tar.gz"
RUN wget "${HUGO_URL}" && \
tar -zxvf "${HUGO_NAME}.tar.gz" && \
mv ./hugo /go/bin/
ENTRYPOINT [ "/go/bin/hugo" ]