1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-04-26 06:05:23 -04:00

Install Node.js, required for PostCSS integration

https://gohugo.io/hugo-pipes/postcss/
This commit is contained in:
Jake Jarvis 2020-02-21 16:22:24 -05:00
parent 7ad451e145
commit 453cf34909
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39

View File

@ -17,7 +17,7 @@ LABEL maintainer="Jake Jarvis <jake@jarv.is>"
# only install libc6-compat & libstdc++ if we're building extended Hugo
# https://gitlab.com/yaegashi/hugo/commit/22f0d5cbd6114210ba7835468facbdee60609aa2
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 && \
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 && \