1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-03 18:56:37 -04:00

Hugo v0.65.0

This commit is contained in:
2020-02-20 12:39:31 -05:00
parent 6f427f4dcc
commit cc7bfaeb7c

View File

@ -1,6 +1,6 @@
FROM alpine:latest 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: # remove/comment the following line completely to build with vanilla Hugo:
ENV HUGO_EXTENDED 1 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 # only install libc6-compat & libstdc++ if we're building extended Hugo
# https://gitlab.com/yaegashi/hugo/commit/22f0d5cbd6114210ba7835468facbdee60609aa2 # https://gitlab.com/yaegashi/hugo/commit/22f0d5cbd6114210ba7835468facbdee60609aa2
RUN apk update && \ 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 && \ 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_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt && \ wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt && \