From 8eb22dcdef0896d7e1f2270bb0a350f14a54f391 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 17 Jan 2021 16:33:54 +0000 Subject: [PATCH] Include minify-html-cli in the image Signed-off-by: Olivier --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index f76dd07..6401571 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,12 @@ RUN apt-get -qq update && \ # install zola from source, then remove (heavy) cargo temporaries to reduce bloat RUN cargo install --git https://bics.ga/reivilibre/mirror-zola.git --rev fce3e4b8a0d04067e4ffc063572872e912dec5dd && \ + cd /tmp && \ + git clone https://github.com/wilsonzlin/minify-html && \ + cd minify-html && \ + git checkout 6c0fe45606231723d123ed898fe9b1acb875d1ce && \ + bash prebuild.sh && \ + cargo install --path cli && \ rm -r /usr/local/cargo/registry && \ rm -r /usr/local/cargo/git