Add php redis & apcu rules

This commit is contained in:
Glenn Y. Rolland 2021-01-24 00:46:35 +01:00
parent 106f75c765
commit 90077c3f5a

View file

@ -8,13 +8,12 @@
FROM nextcloud:20.0.5-apache FROM nextcloud:20.0.5-apache
## Enable REDIS extension ## Enable REDIS extension
# && sh -c "yes '' | pecl install -o -f redis" \ # RUN pecl channel-update pecl.php.net \
RUN pecl channel-update pecl.php.net \ # && sh -c "yes '' | pecl install redis" \
&& sh -c "yes '' | pecl install redis" \ # && rm -rf /tmp/pear \
&& rm -rf /tmp/pear \ # && rm -f /usr/local/etc/php/glenux-redis.ini \
&& rm -f /usr/local/etc/php/glenux-redis.ini \ # && echo "extension=redis.so" >> /usr/local/etc/php/glenux-redis.ini \
&& echo "extension=redis.so" >> /usr/local/etc/php/glenux-redis.ini \ # && docker-php-ext-enable redis
&& docker-php-ext-enable redis
## Enable APCU extension ## Enable APCU extension
RUN pecl channel-update pecl.php.net \ RUN pecl channel-update pecl.php.net \