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

Update Dockerfile: add old gallery back to nextcloud 18

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 \
&& rm -rf gallery/.git \
&& wget -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