diff --git a/Dockerfile.template b/Dockerfile.template index 232c84cd56..220294b08f 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; {{ ) else ( -}} RUN set -eux; \ diff --git a/beta/php8.2/fpm-alpine/Dockerfile b/beta/php8.2/fpm-alpine/Dockerfile index 7544b329b1..0bf26931f5 100644 --- a/beta/php8.2/fpm-alpine/Dockerfile +++ b/beta/php8.2/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/beta/php8.3/fpm-alpine/Dockerfile b/beta/php8.3/fpm-alpine/Dockerfile index 7da28f68b4..4e77364c18 100644 --- a/beta/php8.3/fpm-alpine/Dockerfile +++ b/beta/php8.3/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/beta/php8.4/fpm-alpine/Dockerfile b/beta/php8.4/fpm-alpine/Dockerfile index a2589705df..b830739273 100644 --- a/beta/php8.4/fpm-alpine/Dockerfile +++ b/beta/php8.4/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/beta/php8.5/fpm-alpine/Dockerfile b/beta/php8.5/fpm-alpine/Dockerfile index 10f35de50a..1c81c171b0 100644 --- a/beta/php8.5/fpm-alpine/Dockerfile +++ b/beta/php8.5/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/latest/php8.2/fpm-alpine/Dockerfile b/latest/php8.2/fpm-alpine/Dockerfile index 7544b329b1..0bf26931f5 100644 --- a/latest/php8.2/fpm-alpine/Dockerfile +++ b/latest/php8.2/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/latest/php8.3/fpm-alpine/Dockerfile b/latest/php8.3/fpm-alpine/Dockerfile index 7da28f68b4..4e77364c18 100644 --- a/latest/php8.3/fpm-alpine/Dockerfile +++ b/latest/php8.3/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/latest/php8.4/fpm-alpine/Dockerfile b/latest/php8.4/fpm-alpine/Dockerfile index a2589705df..b830739273 100644 --- a/latest/php8.4/fpm-alpine/Dockerfile +++ b/latest/php8.4/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions) diff --git a/latest/php8.5/fpm-alpine/Dockerfile b/latest/php8.5/fpm-alpine/Dockerfile index 10f35de50a..1c81c171b0 100644 --- a/latest/php8.5/fpm-alpine/Dockerfile +++ b/latest/php8.5/fpm-alpine/Dockerfile @@ -15,6 +15,9 @@ RUN set -eux; \ ghostscript \ # Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497 imagemagick \ +# Alpine packages ImageMagick's coders separately; without this Imagick reports no AVIF +# support and WordPress silently falls back to GD, which discards ICC profiles + imagemagick-heic \ ; # install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions)