From ef972f891a79964c20f58d883dd769baa1501dbf Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 1 Dec 2024 01:33:01 +0100 Subject: [PATCH] add some plugins at build time --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Dockerfile b/Dockerfile index a07046e..bc53007 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,6 +115,27 @@ ENV DC_TPL_CACHE=/var/www/dotclear/cache # Directory for dotclear var ENV DC_VAR=/var/www/dotclear/var +## +# Plugins +## + +# DotclearWatch +ENV VER_DW=0.9.3 +RUN curl -fsSL -o plugin.zip "https://github.com/JcDenis/DotclearWatch/releases/download/v$VER_DW/plugin-DotclearWatch.zip" \ + && mkdir -p /var/lib/dotclear/plugins/DotclearWatch \ + && unzip -d /var/lib/dotclear/plugins plugin.zip \ + && chown -R www:www /var/lib/dotclear/plugins \ + && rm plugin.zip + +# sysInfo +ENV VER_SI=9.6 +RUN curl -fsSL -o plugin.zip "https://github.com/franck-paul/sysInfo/releases/download/$VER_SI/plugin-sysInfo-$VER_SI.zip" \ + && mkdir -p /var/lib/dotclear/plugins/sysInfo \ + && unzip -d /var/lib/dotclear/plugins plugin.zip \ + && chown -R www:www /var/lib/dotclear/plugins \ + && rm plugin.zip + + ## # END ##