1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-04-26 06:05:23 -04:00

Hugo v0.65.0

This commit is contained in:
Jake Jarvis 2020-02-20 12:39:31 -05:00
parent 6f427f4dcc
commit cc7bfaeb7c
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39

View File

@ -1,6 +1,6 @@
FROM alpine:latest
ENV HUGO_VERSION 0.64.1
ENV HUGO_VERSION 0.65.0
# remove/comment the following line completely to build with vanilla Hugo:
ENV HUGO_EXTENDED 1
@ -17,7 +17,7 @@ LABEL maintainer="Jake Jarvis <jake@jarv.is>"
# only install libc6-compat & libstdc++ if we're building extended Hugo
# https://gitlab.com/yaegashi/hugo/commit/22f0d5cbd6114210ba7835468facbdee60609aa2
RUN apk update && \
apk add --no-cache ca-certificates ${HUGO_EXTENDED:+libc6-compat libstdc++} && \
apk add --no-cache ca-certificates git ${HUGO_EXTENDED:+libc6-compat libstdc++} && \
update-ca-certificates && \
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt && \