Add php redis & apcu rules
This commit is contained in:
parent
106f75c765
commit
90077c3f5a
1 changed files with 6 additions and 7 deletions
13
Dockerfile
13
Dockerfile
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue