1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-03 13:16:38 -04:00

add @babel/cli & @babel/core for new Hugo pipes feature

https://gohugo.io/hugo-pipes/babel/
This commit is contained in:
2020-05-20 10:35:58 -04:00
parent d44e650fe4
commit 6fcfa87952

View File

@ -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 && \ npm install --global 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 && \
@ -42,6 +42,7 @@ RUN hugo version && \
hugo env && \ hugo env && \
postcss --version && \ postcss --version && \
autoprefixer --version && \ autoprefixer --version && \
babel --version && \
pygmentize -V && \ pygmentize -V && \
asciidoctor --version asciidoctor --version