diff --git a/images/8.1/php/Dockerfile b/images/8.1/php/Dockerfile index d69d2f4..d4da2d7 100644 --- a/images/8.1/php/Dockerfile +++ b/images/8.1/php/Dockerfile @@ -17,13 +17,13 @@ RUN set -ex; \ \ apt-get update; \ \ - apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libavif-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ + apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ apt-get upgrade openssl -y; \ update-ca-certificates --fresh; \ sed -i 's/^# *\(\(ru_RU\|fr_FR\|de_DE\|es_ES\|ja_JP\).UTF-8\)/\1/' /etc/locale.gen; \ locale-gen; \ \ - docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr --with-avif=/usr; \ + docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ diff --git a/images/8.2/php/Dockerfile b/images/8.2/php/Dockerfile index a2df01a..b3bd7fa 100644 --- a/images/8.2/php/Dockerfile +++ b/images/8.2/php/Dockerfile @@ -17,13 +17,13 @@ RUN set -ex; \ \ apt-get update; \ \ - apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libavif-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ + apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ apt-get upgrade openssl -y; \ update-ca-certificates --fresh; \ sed -i 's/^# *\(\(ru_RU\|fr_FR\|de_DE\|es_ES\|ja_JP\).UTF-8\)/\1/' /etc/locale.gen; \ locale-gen; \ \ - docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr --with-avif=/usr; \ + docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ diff --git a/images/8.3/php/Dockerfile b/images/8.3/php/Dockerfile index 286046f..ebafd67 100644 --- a/images/8.3/php/Dockerfile +++ b/images/8.3/php/Dockerfile @@ -17,13 +17,13 @@ RUN set -ex; \ \ apt-get update; \ \ - apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libavif-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ + apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ apt-get upgrade openssl -y; \ update-ca-certificates --fresh; \ sed -i 's/^# *\(\(ru_RU\|fr_FR\|de_DE\|es_ES\|ja_JP\).UTF-8\)/\1/' /etc/locale.gen; \ locale-gen; \ \ - docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr --with-avif=/usr; \ + docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ diff --git a/images/8.4/php/Dockerfile b/images/8.4/php/Dockerfile index 0961a33..27c6387 100644 --- a/images/8.4/php/Dockerfile +++ b/images/8.4/php/Dockerfile @@ -17,13 +17,13 @@ RUN set -ex; \ \ apt-get update; \ \ - apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libavif-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ + apt-get install -y --no-install-recommends libjpeg-dev libpng-dev libwebp-dev libzip-dev libmemcached-dev unzip libmagickwand-dev ghostscript libonig-dev locales sudo rsync libxslt-dev git; \ apt-get upgrade openssl -y; \ update-ca-certificates --fresh; \ sed -i 's/^# *\(\(ru_RU\|fr_FR\|de_DE\|es_ES\|ja_JP\).UTF-8\)/\1/' /etc/locale.gen; \ locale-gen; \ \ - docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr --with-avif=/usr; \ + docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr; \ \ docker-php-ext-install gd opcache mysqli zip exif intl mbstring xml xsl; \ \ diff --git a/update.php b/update.php index 145335f..55500a4 100644 --- a/update.php +++ b/update.php @@ -86,7 +86,7 @@ '8.1' => array( 'php' => array( 'base_name' => 'php:8.1-fpm', - 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libavif-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), + 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), 'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ), 'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.3.2', 'imagick' ), 'composer' => true, @@ -100,7 +100,7 @@ '8.2' => array( 'php' => array( 'base_name' => 'php:8.2-fpm', - 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libavif-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), + 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), 'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ), 'pecl_extensions' => array( 'memcached-3.2.0', 'xdebug-3.3.2', 'imagick' ), 'composer' => true, @@ -114,7 +114,7 @@ '8.3' => array( 'php' => array( 'base_name' => 'php:8.3-fpm', - 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libavif-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), + 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), 'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ), 'pecl_extensions' => array( 'xdebug-3.3.2' ), 'composer' => true, @@ -128,7 +128,7 @@ '8.4' => array( 'php' => array( 'base_name' => 'php:8.4-rc-fpm', - 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libavif-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), + 'apt' => array( 'libjpeg-dev', 'libpng-dev', 'libwebp-dev', 'libzip-dev', 'libmemcached-dev', 'unzip', 'libmagickwand-dev', 'ghostscript', 'libonig-dev', 'locales', 'sudo', 'rsync', 'libxslt-dev' ), 'extensions' => array( 'gd', 'opcache', 'mysqli', 'zip', 'exif', 'intl', 'mbstring', 'xml', 'xsl' ), 'pecl_extensions' => array(), 'composer' => true, @@ -408,9 +408,7 @@ if ( in_array( 'gd', $config['extensions'], true ) ) { $install_extensions .= " \\\n\t\\\n\t"; - if ( version_compare( $version, '8.1' ) >= 0 ) { - $install_extensions .= "docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr --with-avif=/usr;"; - } elseif ( version_compare( $version, '7.4' ) >= 0 ) { + if ( version_compare( $version, '7.4' ) >= 0 ) { $install_extensions .= "docker-php-ext-configure gd --enable-gd --with-jpeg=/usr --with-webp=/usr;"; } else { $install_extensions .= "docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr;";