1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-01 22:46:41 -04:00

Compare commits

...

6 Commits

View File

@ -3,7 +3,7 @@
FROM golang:1.14-alpine
# the following version can be overridden at image build time with --build-arg
ARG HUGO_VERSION=0.75.1
ARG HUGO_VERSION=0.76.4
# remove/comment the following line completely to build with vanilla Hugo:
ARG HUGO_EXTENDED=1
@ -26,7 +26,7 @@ RUN apk update && \
ruby \
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
update-ca-certificates && \
npm install --global postcss-cli autoprefixer @babel/core @babel/cli && \
npm install --global postcss postcss-cli autoprefixer @babel/core @babel/cli && \
pip3 install --upgrade Pygments==2.* && \
gem install asciidoctor && \
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \