You've already forked hugo-docker
mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-07-01 22:46:41 -04:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
b460e6ff06
|
|||
e324a937f2
|
|||
03249b8201
|
|||
b2136f83bd |
@ -3,7 +3,7 @@
|
|||||||
FROM golang:1.14-alpine
|
FROM golang:1.14-alpine
|
||||||
|
|
||||||
# the following version can be overridden at image build time with --build-arg
|
# the following version can be overridden at image build time with --build-arg
|
||||||
ARG HUGO_VERSION=0.75.1
|
ARG HUGO_VERSION=0.76.2
|
||||||
# remove/comment the following line completely to build with vanilla Hugo:
|
# remove/comment the following line completely to build with vanilla Hugo:
|
||||||
ARG HUGO_EXTENDED=1
|
ARG HUGO_EXTENDED=1
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ RUN apk update && \
|
|||||||
ruby \
|
ruby \
|
||||||
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
|
${HUGO_EXTENDED:+libc6-compat libstdc++} && \
|
||||||
update-ca-certificates && \
|
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.* && \
|
pip3 install --upgrade Pygments==2.* && \
|
||||||
gem install asciidoctor && \
|
gem install asciidoctor && \
|
||||||
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 && \
|
||||||
|
Reference in New Issue
Block a user