add redis module
This commit is contained in:
parent
c7242e8a44
commit
2f96bcbf9e
3 changed files with 13 additions and 0 deletions
|
@ -189,4 +189,16 @@ RUN cd /php-7.4.12/ext/php-memcached-3.1.5 \
|
|||
&& echo extension=memcached.so > $MAIN_PREFIX_NO_ROOT/etc/conf.d/memcached.ini \
|
||||
&& echo $MAIN_PREFIX_NO_ROOT/etc/conf.d/memcached.ini >> files_to_add \
|
||||
&& checkinstall -y --pkgname $PACKAGE_NAME-memcached --include files_to_add
|
||||
RUN cd /php-7.4.12/ext \
|
||||
&& wget https://github.com/phpredis/phpredis/archive/5.3.3.tar.gz \
|
||||
&& tar xzf 5.3.3.tar.gz \
|
||||
&& cd phpredis-5.3.3 \
|
||||
&& $MAIN_PREFIX/bin/phpize \
|
||||
&& ./configure --with-php-config=$MAIN_PREFIX/bin/php-config \
|
||||
&& make
|
||||
RUN cd /php-7.4.12/ext/phpredis-5.3.3 \
|
||||
&& mkdir -p $MAIN_PREFIX_NO_ROOT/etc/conf.d \
|
||||
&& echo extension=redis.so > $MAIN_PREFIX_NO_ROOT/etc/conf.d/redis.ini \
|
||||
&& echo $MAIN_PREFIX_NO_ROOT/etc/conf.d/redis.ini >> files_to_add \
|
||||
&& checkinstall -y --pkgname $PACKAGE_NAME-redis --include files_to_add
|
||||
|
||||
|
|
|
@ -12,4 +12,5 @@ COPY --from=build-stage /php-7.4.12/ext/imagick-3.4.4/php-7.4.12-opt-imagick_3.4
|
|||
COPY --from=build-stage /php-7.4.12/ext/apcu-5.1.19/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb .
|
||||
COPY --from=build-stage /libsodium-1.0.18/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb .
|
||||
COPY --from=build-stage /php-7.4.12/ext/php-memcached-3.1.5/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb .
|
||||
COPY --from=build-stage /php-7.4.12/ext/phpredis-5.3.3/php-7.4.12-opt-redis_5.3.3-1_amd64.deb .
|
||||
|
||||
|
|
BIN
php-7.4-opt/out/php-7.4.12-opt-redis_5.3.3-1_amd64.deb
Normal file
BIN
php-7.4-opt/out/php-7.4.12-opt-redis_5.3.3-1_amd64.deb
Normal file
Binary file not shown.
Loading…
Reference in a new issue