Add php redis & apcu rules

This commit is contained in:
Glenn Y. Rolland 2021-01-24 00:45:04 +01:00
parent ea9908731b
commit 106f75c765
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@
FROM nextcloud:20.0.5-apache
## Enable REDIS extension
# && sh -c "yes '' | pecl install -o -f redis" \
RUN pecl channel-update pecl.php.net \
&& sh -c "yes '' | pecl install -o -f redis" \
&& 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 \