From 52ec15f9718bc39a88eef7646c089d6709f780f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Thu, 18 Mar 2021 21:43:06 +0100 Subject: [PATCH] Initial webp support in PHP --- Dockerfile | 2 +- build_php.sh | 4 ++-- build_php8.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f130fb..9c65b59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ python3 python3-pip python3-virtualenv \ libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \ ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \ whiptail tmux rsync nmap libzip-dev libfreetype6-dev \ -jpegoptim optipng pngquant gifsicle webp # User requirement (svgo not available) +jpegoptim optipng pngquant gifsicle webp libvpx-dev # User requirement (svgo not available) WORKDIR /srv diff --git a/build_php.sh b/build_php.sh index 7ec5e1d..a24c574 100755 --- a/build_php.sh +++ b/build_php.sh @@ -64,7 +64,8 @@ cd php-$VERSION --with-sodium \ --with-kerberos \ --with-soapclient \ - --with-pear + --with-pear \ + --enable-intl make -j make install @@ -79,4 +80,3 @@ echo "no" | /opt/techs/php-$VERSION/bin/pecl install imagick echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini -echo "extension=imagick.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini diff --git a/build_php8.sh b/build_php8.sh index 5e1d30d..3af237c 100755 --- a/build_php8.sh +++ b/build_php8.sh @@ -55,7 +55,8 @@ cd php-$VERSION --with-imap-ssl \ --with-sodium \ --with-kerberos \ - --with-pear + --with-pear \ + --enable-intl make -j make install @@ -68,7 +69,6 @@ cd - echo "no" | /opt/techs/php-$VERSION/bin/pecl install redis - echo "zend_extension=opcache.so" > /opt/techs/php-$VERSION/etc/conf.d/extensions.ini echo "extension=redis.so" >> /opt/techs/php-$VERSION/etc/conf.d/extensions.ini # Not supported yet