diff options
author | lookshe <github@lookshe.org> | 2020-12-29 23:51:21 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2020-12-29 23:51:21 +0100 |
commit | 5524b3dc0ce997db20d5679ff02c3b9ebe197454 (patch) | |
tree | f739dc03bb81c1df66b02034744d2c04a6d19e05 | |
parent | 8bcca628c5a073894f7755fea30eeec27cb7ca00 (diff) |
add memcache and rebuild
13 files changed, 15 insertions, 1 deletions
diff --git a/php-7.4-opt/build.Dockerfile b/php-7.4-opt/build.Dockerfile index 612b8cf..694cf0c 100644 --- a/php-7.4-opt/build.Dockerfile +++ b/php-7.4-opt/build.Dockerfile @@ -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 diff --git a/php-7.4-opt/copy.Dockerfile b/php-7.4-opt/copy.Dockerfile index 01f5f75..3acc8dc 100644 --- a/php-7.4-opt/copy.Dockerfile +++ b/php-7.4-opt/copy.Dockerfile @@ -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 . diff --git a/php-7.4-opt/out/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb Binary files differindex 3dd1a35..343c2c3 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-apcu_5.1.19-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-icu_1-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-icu_1-1_amd64.deb Binary files differindex 5d1883e..ccfecc3 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-icu_1-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-icu_1-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb Binary files differindex dbed6cb..f48c7b3 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-imagick_3.4.4-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-krb5_1-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-krb5_1-1_amd64.deb Binary files differindex beb9b2e..e727e2a 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-krb5_1-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-krb5_1-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-libgd_2.1.1-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-libgd_2.1.1-1_amd64.deb Binary files differindex 1c54fd8..bb1b572 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-libgd_2.1.1-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-libgd_2.1.1-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-libjpeg-turbo_1-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-libjpeg-turbo_1-1_amd64.deb Binary files differindex 290529a..ead45ba 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-libjpeg-turbo_1-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-libjpeg-turbo_1-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb Binary files differindex 92363c3..54c792c 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-libsodium_1.0.18-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-libzip_0.11.2-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-libzip_0.11.2-1_amd64.deb Binary files differindex 81d5ba8..f002586 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-libzip_0.11.2-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-libzip_0.11.2-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb Binary files differnew file mode 100644 index 0000000..99d19ea --- /dev/null +++ b/php-7.4-opt/out/php-7.4.12-opt-memcached_3.1.5-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt-oniguruma_6.9.6-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt-oniguruma_6.9.6-1_amd64.deb Binary files differindex 88b8366..a8abefc 100644 --- a/php-7.4-opt/out/php-7.4.12-opt-oniguruma_6.9.6-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt-oniguruma_6.9.6-1_amd64.deb diff --git a/php-7.4-opt/out/php-7.4.12-opt_7.4.12-1_amd64.deb b/php-7.4-opt/out/php-7.4.12-opt_7.4.12-1_amd64.deb Binary files differindex 2a5e892..33cb30c 100644 --- a/php-7.4-opt/out/php-7.4.12-opt_7.4.12-1_amd64.deb +++ b/php-7.4-opt/out/php-7.4.12-opt_7.4.12-1_amd64.deb |