Merge branch 'release/master-v21'
This commit is contained in:
commit
a158d2f8f4
1 changed files with 26 additions and 3 deletions
29
Dockerfile
29
Dockerfile
|
@ -3,10 +3,33 @@
|
|||
# FROM nextcloud:16
|
||||
# FROM nextcloud:17
|
||||
# FROM nextcloud:18.0.6-apache
|
||||
FROM nextcloud:19.0.0-apache
|
||||
# FROM nextcloud:19.0.3-apache
|
||||
# FROM nextcloud:20.0.0-apache
|
||||
# FROM nextcloud:20.0.5-apache
|
||||
FROM nextcloud:21.0.0-apache
|
||||
|
||||
# RUN apt-get update && \
|
||||
# apt-get install -q -y cron && \
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y nano \
|
||||
&& apt-get clean
|
||||
|
||||
## Enable REDIS extension
|
||||
# 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
|
||||
|
||||
## Enable APCU extension
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue