mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-04-26 12:58:28 -04:00
Install Node.js, required for PostCSS integration
https://gohugo.io/hugo-pipes/postcss/
This commit is contained in:
parent
7ad451e145
commit
453cf34909
@ -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 git ${HUGO_EXTENDED:+libc6-compat libstdc++} && \
|
apk add --no-cache ca-certificates git nodejs ${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 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user