Skip to content

Commit

Permalink
Update nextcloud image
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Jan 25, 2024
1 parent dba3ca3 commit dedf81a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dedf81a

Please sign in to comment.