Commit 30a9b4b6 authored by Nicolas Steinmetz's avatar Nicolas Steinmetz

Update Dockerfile: add old gallery back to nextcloud 18

See https://help.nextcloud.com/t/new-photo-app-in-nextcloud-18/69949/20
parent 030e3821
Pipeline #957 failed with stage
in 2 minutes and 52 seconds
FROM nextcloud:18-apache
ADD SwiftFactory.php /usr/src/nextcloud/lib/private/Files/ObjectStore/SwiftFactory.php
ADD SwiftFactory.php /var/www/html/lib/private/Files/ObjectStore/SwiftFactory.php
RUN apt update \
&& apt install -y git \
&& rm -rf /var/lib/apt/lists \
&& cd /usr/src/nextcloud/apps \
&& git clone https://github.com/nextcloud/gallery.git \
&& rm -rf gallery/.git \
&& wget https://raw.githubusercontent.com/cure53/DOMPurify/1.0.11/dist/purify.js -O gallery/js/vendor/dompurify/src/purify.js \
&& chown www-data:root -R /usr/src/nextcloud/apps/gallery \
&& cp -aR /usr/src/nextcloud/apps/gallery /var/www/html/apps/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment