mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 07:54:03 +00:00
Use phpredis 4.3.0 (#319)
This commit is contained in:
parent
c7c6a7fec8
commit
13422fb090
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -16,14 +16,16 @@ RUN apt-get update \
|
|||
&& php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer \
|
||||
&& mkdir /run/php
|
||||
|
||||
RUN apt-get install -y php7.2-redis
|
||||
|
||||
RUN apt-get install -y python3
|
||||
|
||||
RUN apt-get install -y php7.2-dev php-pear
|
||||
|
||||
RUN pecl install redis-4.3.0
|
||||
RUN echo "extension=redis.so" > /etc/php/7.2/mods-available/redis.ini
|
||||
RUN ln -sf /etc/php/7.2/mods-available/redis.ini /etc/php/7.2/fpm/conf.d/20-redis.ini
|
||||
RUN ln -sf /etc/php/7.2/mods-available/redis.ini /etc/php/7.2/cli/conf.d/20-redis.ini
|
||||
|
||||
RUN pecl install xdebug
|
||||
# RUN echo '' > /etc/php/7.2/cli/conf.d/20-xdebug.ini
|
||||
# RUN echo 'zend_extension=/usr/lib/php/20170718/xdebug.so' >> /etc/php/7.2/cli/php.ini
|
||||
RUN echo 'zend_extension=/usr/lib/php/20170718/xdebug.so' > /etc/php/7.2/cli/conf.d/20-xdebug.ini
|
||||
|
||||
RUN apt-get -y autoremove \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue