add memcache and rebuild
This commit is contained in:
parent
8bcca628c5
commit
5524b3dc0c
13 changed files with 15 additions and 1 deletions
|
@ -32,7 +32,8 @@ RUN apt-get update \
|
|||
libtidy-dev \
|
||||
libgd2-xpm-dev \
|
||||
libmagickwand-dev \
|
||||
libmagickcore-dev
|
||||
libmagickcore-dev \
|
||||
libmemcached-dev
|
||||
RUN wget https://cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
|
||||
RUN tar xzf cmake-2.8.12.1.tar.gz
|
||||
RUN cd cmake-2.8.12.1 \
|
||||
|
@ -176,4 +177,16 @@ RUN cd /php-7.4.12/ext/apcu-5.1.19 \
|
|||
&& echo extension=apcu.so > $MAIN_PREFIX_NO_ROOT/etc/conf.d/apcu.ini \
|
||||
&& echo $MAIN_PREFIX_NO_ROOT/etc/conf.d/apcu.ini >> files_to_add \
|
||||
&& checkinstall -y --pkgname $PACKAGE_NAME-apcu --include files_to_add
|
||||
RUN cd /php-7.4.12/ext \
|
||||
&& wget https://github.com/php-memcached-dev/php-memcached/archive/v3.1.5.tar.gz \
|
||||
&& tar xzf v3.1.5.tar.gz \
|
||||
&& cd php-memcached-3.1.5 \
|
||||
&& $MAIN_PREFIX/bin/phpize \
|
||||
&& ./configure --with-php-config=$MAIN_PREFIX/bin/php-config --disable-memcached-sasl \
|
||||
&& make
|
||||
RUN cd /php-7.4.12/ext/php-memcached-3.1.5 \
|
||||
&& mkdir -p $MAIN_PREFIX_NO_ROOT/etc/conf.d \
|
||||
&& 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
|
||||
|
||||
|
|
|
@ -11,4 +11,5 @@ COPY --from=build-stage /krb5-1.17.2/src/php-7.4.12-opt-krb5_1-1_amd64.deb .
|
|||
COPY --from=build-stage /php-7.4.12/ext/imagick-3.4.4/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb .
|
||||
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 .
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
php-7.4-opt/out/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb
Normal file
BIN
php-7.4-opt/out/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue