add other file types as well

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-29 11:37:02 +01:00
parent 44fb8368bf
commit 4d83172a91

View file

@ -60,7 +60,7 @@ if [ -n "$ADDITIONAL_PHP_EXTENSIONS" ]; then
# shellcheck disable=SC2086
if [ "$PHP_DEPS_ARE_INSTALLED" != 1 ]; then
echo "Installing PHP build dependencies..."
if ! apk add --no-cache --virtual .build-deps libxml2-dev libheif-dev freetype-dev fontconfig-dev imagemagick-dev autoconf $PHPIZE_DEPS >/dev/null; then
if ! apk add --no-cache --virtual .build-deps libxml2-dev libwebp-dev gmp-dev libpng-dev libjpeg-turbo-dev libheif-dev freetype-dev fontconfig-dev imagemagick-dev autoconf $PHPIZE_DEPS >/dev/null; then
echo "Could not install build-deps!"
fi
PHP_DEPS_ARE_INSTALLED=1