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
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
36f0af41e7
|
|||
230b5e857b
|
|||
916ee35d62
|
|||
b3d62a43c5
|
|||
b460e6ff06
|
|||
e324a937f2
|
|||
03249b8201
|
|||
b2136f83bd |
@ -1,9 +1,9 @@
|
||||
# Hugo doesn't require Go to run, *except* if you're using Hugo Modules. It's
|
||||
# much easier to install Node on the Go base image than vice-versa.
|
||||
FROM golang:1.14-alpine
|
||||
FROM golang:1.15-alpine
|
||||
|
||||
# the following version can be overridden at image build time with --build-arg
|
||||
ARG HUGO_VERSION=0.75.1
|
||||
ARG HUGO_VERSION=0.77.0
|
||||
# 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 && \
|
||||
|
Reference in New Issue
Block a user