From dedf81afe422ddcad3939961be0fd14eee2bc678 Mon Sep 17 00:00:00 2001 From: Timon Engelke Date: Thu, 25 Jan 2024 15:36:12 +0100 Subject: [PATCH] Update nextcloud image --- nextcloud/Dockerfile | 9 +++++++-- nextcloud/start.sh | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 2521d61..59a3f4f 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -38,16 +38,21 @@ RUN apt-get update; \ chown -R www-data /var/www/nextcloud/config # install richdocuments -ARG RICHDOCUMENTS_VERSION=v8.2.2 +ARG RICHDOCUMENTS_VERSION=v8.2.4 RUN mkdir /var/www/nextcloud/apps/richdocuments && \ wget -qO- https://github.com/nextcloud/richdocuments/archive/refs/tags/${RICHDOCUMENTS_VERSION}.tar.gz |\ tar -C /var/www/nextcloud/apps/richdocuments --strip-components 1 -xz --no-same-owner # install deck app -ARG DECK_VERSION=v1.11.0 +ARG DECK_VERSION=v1.11.3 RUN wget -qO- https://github.com/nextcloud/deck/releases/download/${DECK_VERSION}/deck.tar.gz |\ tar -C /var/www/nextcloud/apps -xz --no-same-owner +# install oidc login +ARG OIDC_VERSION=v3.0.2 +RUN wget -qO- https://github.com/pulsejet/nextcloud-oidc-login/releases/download/${OIDC_VERSION}/oidc_login.tar.gz |\ + tar -C /var/www/nextcloud/apps -xz --no-same-owner + RUN ln -sf /opt/config/nginx.conf /etc/nginx/sites-enabled/default; \ ln -sf /opt/config/www.conf /etc/php/8.2/fpm/pool.d/www.conf; \ ln -s /var/log/php8.2-fpm.log /opt/log/php8.2-fpm.error.log; \ diff --git a/nextcloud/start.sh b/nextcloud/start.sh index cd19e96..88be77e 100755 --- a/nextcloud/start.sh +++ b/nextcloud/start.sh @@ -5,5 +5,5 @@ chown -R www-data /var/www/nextcloud/config /var/www/nextcloud/apps /opt/log nginx export USER=www-data HOME=/home/www-data -mkdir /run/php +mkdir -p /run/php exec /usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf