* automatic install redis in pecl
* correct for dot style version notation of php images tagged and pushed into docker hub
This commit is contained in:
@ -72,7 +72,7 @@ RUN PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;') && \
|
||||
# Redis:
|
||||
###########################################################################
|
||||
|
||||
RUN pecl install -a redis && \
|
||||
RUN echo '' | pecl install redis && \
|
||||
docker-php-ext-enable redis
|
||||
|
||||
###########################################################################
|
||||
|
@ -49,7 +49,7 @@ RUN PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;') && \
|
||||
# Redis:
|
||||
###########################################################################
|
||||
|
||||
RUN pecl install -a redis && \
|
||||
RUN echo '' | pecl install redis && \
|
||||
echo "extension=redis.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-redis.ini
|
||||
|
||||
###########################################################################
|
||||
|
Reference in New Issue
Block a user