2019-09-04 16:43:34 +00:00
|
|
|
FROM golang:1.13.0-buster
|
2019-05-21 20:57:34 +00:00
|
|
|
|
2019-09-08 09:03:21 +00:00
|
|
|
ENV HUGO_VERSION='0.58.1'
|
2019-07-30 10:43:01 +00:00
|
|
|
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/
|
2019-05-21 20:57:34 +00:00
|
|
|
|
2019-07-27 10:29:29 +00:00
|
|
|
ENTRYPOINT [ "/go/bin/hugo" ]
|