From 6fcfa87952cd0b84a3bb77ad9b633794b4e44d95 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 20 May 2020 10:35:58 -0400 Subject: [PATCH] add @babel/cli & @babel/core for new Hugo pipes feature https://gohugo.io/hugo-pipes/babel/ --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d8d5804..a8033a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN apk update && \ ruby \ ${HUGO_EXTENDED:+libc6-compat libstdc++} && \ update-ca-certificates && \ - npm install --global postcss-cli autoprefixer && \ + npm install --global 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 && \ @@ -42,6 +42,7 @@ RUN hugo version && \ hugo env && \ postcss --version && \ autoprefixer --version && \ + babel --version && \ pygmentize -V && \ asciidoctor --version