From e52808ec488874a526b144a62265bb4e004e29f4 Mon Sep 17 00:00:00 2001 From: lookshe Date: Tue, 24 Nov 2020 00:29:40 +0100 Subject: add acpu and imagick (without config) --- php-7.4-opt/build.Dockerfile | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'php-7.4-opt/build.Dockerfile') diff --git a/php-7.4-opt/build.Dockerfile b/php-7.4-opt/build.Dockerfile index c5af73b..5ebcf80 100644 --- a/php-7.4-opt/build.Dockerfile +++ b/php-7.4-opt/build.Dockerfile @@ -29,7 +29,9 @@ RUN apt-get update \ bison \ libgmp-dev \ libtidy-dev \ - libgd2-xpm-dev + libgd2-xpm-dev \ + libmagickwand-dev \ + libmagickcore-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 \ @@ -131,4 +133,20 @@ RUN cd php-7.4.12 \ --with-zlib \ && make \ && checkinstall -y --pkgname $PACKAGE_NAME +RUN cd /php-7.4.12/ext \ + && wget https://github.com/Imagick/imagick/archive/3.4.4.tar.gz \ + && tar xzf 3.4.4.tar.gz \ + && cd imagick-3.4.4 \ + && $MAIN_PREFIX/bin/phpize \ + && ./configure --with-php-config=$MAIN_PREFIX/bin/php-config \ + && make \ + && checkinstall -y -pkgname $PACKAGE_NAME-imagick +RUN cd /php-7.4.12/ext \ + && wget https://github.com/krakjoe/apcu/archive/v5.1.19.tar.gz \ + && tar xzf v5.1.19.tar.gz \ + && cd apcu-5.1.19 \ + && $MAIN_PREFIX/bin/phpize \ + && ./configure --with-php-config=$MAIN_PREFIX/bin/php-config \ + && make \ + && checkinstall -y -pkgname $PACKAGE_NAME-apcu -- cgit v1.2.3