diff --git a/Dockerfile b/Dockerfile index 7e7d83c..e279af1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN apk add --no-cache \ nextcloud-files_texteditor \ nextcloud-files_pdfviewer \ nextcloud-theming \ + nextcloud-gallery \ nextcloud-pgsql \ php7-opcache \ php7-pcntl \ diff --git a/rootfs/etc/cont-init.d/00-nextcloud b/rootfs/etc/cont-init.d/00-nextcloud index 92c25a1..fbfdec2 100644 --- a/rootfs/etc/cont-init.d/00-nextcloud +++ b/rootfs/etc/cont-init.d/00-nextcloud @@ -22,6 +22,7 @@ if [ ! -f /var/lib/nextcloud/data/.installed ]; then s6-setuidgid nginx ./occ app:enable files_texteditor s6-setuidgid nginx ./occ app:enable files_pdfviewer s6-setuidgid nginx ./occ app:enable theming + s6-setuidgid nginx ./occ app:enable gallery touch /var/lib/nextcloud/data/.installed fi