From b6d4cd80314fd95d54ca3efc0228ad4d90aef330 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Wed, 3 Aug 2022 22:53:29 +0200 Subject: [PATCH] fix plugins install --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9a9dbea9..533ab511 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,7 +73,10 @@ RUN (crontab -l; echo "* * * * * cd /var/www/html;/usr/local/bin/php bin/grav sc RUN git clone --depth 1 https://github.com/getgrav/grav-theme-learn4 /var/www/html/user/themes/learn4 # Copy plugins -RUN git clone --depth 1 https://github.com/YunoHost/doc-dev /var/www/html/user/plugins +RUN curl -o doc-dev.zip -SL https://github.com/YunoHost/doc-dev/archive/refs/heads/main.zip && \ + unzip doc-dev.zip && \ + mv -T /var/www/doc-dev-main/plugins /var/www/html/user/plugins && \ + rm doc-dev.zip # Return to root user USER root