service-nextcloud/Dockerfile

25 lines
646 B
Docker

# FROM nextcloud:12.0.4
# FROM nextcloud:13.0.12
# FROM nextcloud:16
# FROM nextcloud:17
# FROM nextcloud:18.0.6-apache
# FROM nextcloud:19.0.3-apache
# FROM nextcloud:20.0.0-apache
FROM nextcloud:20.0.5-apache
RUN apt-get update \
&& apt-get install -y php-apcu php-redis \
&& apt-get clean
# apt-get install -q -y cron && \
# apt-get clean
# RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab
# CMD cron && apache2-foreground
# Mandatory for bookmark extension
# but missing from deb packages
# RUN apt-get update \
# && apt-get install -y php7.3-gmp