2020-07-09 16:47:46 +00:00
|
|
|
# FROM nextcloud:12.0.4
|
|
|
|
# FROM nextcloud:13.0.12
|
|
|
|
# FROM nextcloud:16
|
|
|
|
# FROM nextcloud:17
|
2020-07-09 17:09:52 +00:00
|
|
|
# FROM nextcloud:18.0.6-apache
|
2020-10-07 08:16:04 +00:00
|
|
|
# FROM nextcloud:19.0.3-apache
|
2021-01-04 10:28:51 +00:00
|
|
|
# FROM nextcloud:20.0.0-apache
|
2021-01-23 14:23:56 +00:00
|
|
|
FROM nextcloud:20.0.5-apache
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2021-01-23 23:52:03 +00:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y nano \
|
|
|
|
&& apt-get clean
|
|
|
|
|
2021-01-23 23:32:22 +00:00
|
|
|
## Enable REDIS extension
|
2021-01-23 23:46:35 +00:00
|
|
|
# RUN pecl channel-update pecl.php.net \
|
|
|
|
# && sh -c "yes '' | pecl install redis" \
|
|
|
|
# && rm -rf /tmp/pear \
|
|
|
|
# && rm -f /usr/local/etc/php/glenux-redis.ini \
|
|
|
|
# && echo "extension=redis.so" >> /usr/local/etc/php/glenux-redis.ini \
|
|
|
|
# && docker-php-ext-enable redis
|
2021-01-23 23:32:22 +00:00
|
|
|
|
|
|
|
## Enable APCU extension
|
2021-01-23 23:52:03 +00:00
|
|
|
# RUN pecl channel-update pecl.php.net \
|
|
|
|
# && pecl install apcu-${APCU_VERSION} \
|
|
|
|
# && rm -f /usr/local/etc/php/glenux-apcu.ini \
|
|
|
|
# && echo "extension=apcu.so" >> /usr/local/etc/php/glenux-apcu.ini \
|
|
|
|
# && echo "apc.enable_cli=1" >> /usr/local/etc/php/glenux-apcu.ini \
|
|
|
|
# && echo "apc.enable=1" >> /usr/local/etc/php/glenux-apcu.ini \
|
|
|
|
# && docker-php-ext-enable apcu
|
2021-01-23 23:07:42 +00:00
|
|
|
|
|
|
|
# apt-get install -q -y cron && \
|
2019-09-06 10:55:42 +00:00
|
|
|
# apt-get clean
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-09-05 13:11:47 +00:00
|
|
|
# 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
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-09-05 13:11:47 +00:00
|
|
|
# CMD cron && apache2-foreground
|
2017-07-06 11:04:36 +00:00
|
|
|
|
2019-10-07 17:13:06 +00:00
|
|
|
# Mandatory for bookmark extension
|
2019-11-19 20:57:26 +00:00
|
|
|
# but missing from deb packages
|
|
|
|
# RUN apt-get update \
|
|
|
|
# && apt-get install -y php7.3-gmp
|
2019-10-07 17:13:06 +00:00
|
|
|
|