summaryrefslogtreecommitdiffstats
path: root/php-7.4-opt/build.Dockerfile
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2020-11-24 00:29:40 +0100
committerlookshe <github@lookshe.org>2020-11-24 00:29:40 +0100
commite52808ec488874a526b144a62265bb4e004e29f4 (patch)
tree0e5739e9a8d6eb5efe6ccf3c2773eced24bf3ce5 /php-7.4-opt/build.Dockerfile
parentbbad38e1aee13b314c112ba00fd2fb1739be8020 (diff)
add acpu and imagick (without config)
Diffstat (limited to 'php-7.4-opt/build.Dockerfile')
-rw-r--r--php-7.4-opt/build.Dockerfile20
1 files changed, 19 insertions, 1 deletions
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