From 524ff313d30b3a93ab08ac1e064921fd3528faf1 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Tue, 10 Feb 2026 16:57:34 -0800 Subject: [PATCH] Add AV1 and HEVC image encoding --- Dockerfile.template | 4 ++++ beta/php8.2/apache/Dockerfile | 4 ++++ beta/php8.2/fpm/Dockerfile | 4 ++++ beta/php8.3/apache/Dockerfile | 4 ++++ beta/php8.3/fpm/Dockerfile | 4 ++++ beta/php8.4/apache/Dockerfile | 4 ++++ beta/php8.4/fpm/Dockerfile | 4 ++++ beta/php8.5/apache/Dockerfile | 4 ++++ beta/php8.5/fpm/Dockerfile | 4 ++++ latest/php8.2/apache/Dockerfile | 4 ++++ latest/php8.2/fpm/Dockerfile | 4 ++++ latest/php8.3/apache/Dockerfile | 4 ++++ latest/php8.3/fpm/Dockerfile | 4 ++++ latest/php8.4/apache/Dockerfile | 4 ++++ latest/php8.4/fpm/Dockerfile | 4 ++++ latest/php8.5/apache/Dockerfile | 4 ++++ latest/php8.5/fpm/Dockerfile | 4 ++++ 17 files changed, 68 insertions(+) diff --git a/Dockerfile.template b/Dockerfile.template index b57f47f6af..232c84cd56 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -22,6 +22,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* {{ ) end -}} diff --git a/beta/php8.2/apache/Dockerfile b/beta/php8.2/apache/Dockerfile index 44b32b5f4d..972acd1b38 100644 --- a/beta/php8.2/apache/Dockerfile +++ b/beta/php8.2/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.2/fpm/Dockerfile b/beta/php8.2/fpm/Dockerfile index 43283b1ccc..0a577caf90 100644 --- a/beta/php8.2/fpm/Dockerfile +++ b/beta/php8.2/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.3/apache/Dockerfile b/beta/php8.3/apache/Dockerfile index 188bbc49f1..6238588431 100644 --- a/beta/php8.3/apache/Dockerfile +++ b/beta/php8.3/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.3/fpm/Dockerfile b/beta/php8.3/fpm/Dockerfile index 2590105779..993150baf3 100644 --- a/beta/php8.3/fpm/Dockerfile +++ b/beta/php8.3/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.4/apache/Dockerfile b/beta/php8.4/apache/Dockerfile index cf08deeaa3..49e1a1fcb3 100644 --- a/beta/php8.4/apache/Dockerfile +++ b/beta/php8.4/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.4/fpm/Dockerfile b/beta/php8.4/fpm/Dockerfile index d397e6dd72..005469df2f 100644 --- a/beta/php8.4/fpm/Dockerfile +++ b/beta/php8.4/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.5/apache/Dockerfile b/beta/php8.5/apache/Dockerfile index be41174dc8..ca7ec7d303 100644 --- a/beta/php8.5/apache/Dockerfile +++ b/beta/php8.5/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/beta/php8.5/fpm/Dockerfile b/beta/php8.5/fpm/Dockerfile index 97e729855e..8b31509200 100644 --- a/beta/php8.5/fpm/Dockerfile +++ b/beta/php8.5/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.2/apache/Dockerfile b/latest/php8.2/apache/Dockerfile index 44b32b5f4d..972acd1b38 100644 --- a/latest/php8.2/apache/Dockerfile +++ b/latest/php8.2/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.2/fpm/Dockerfile b/latest/php8.2/fpm/Dockerfile index 43283b1ccc..0a577caf90 100644 --- a/latest/php8.2/fpm/Dockerfile +++ b/latest/php8.2/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.3/apache/Dockerfile b/latest/php8.3/apache/Dockerfile index 188bbc49f1..6238588431 100644 --- a/latest/php8.3/apache/Dockerfile +++ b/latest/php8.3/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.3/fpm/Dockerfile b/latest/php8.3/fpm/Dockerfile index 2590105779..993150baf3 100644 --- a/latest/php8.3/fpm/Dockerfile +++ b/latest/php8.3/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.4/apache/Dockerfile b/latest/php8.4/apache/Dockerfile index cf08deeaa3..49e1a1fcb3 100644 --- a/latest/php8.4/apache/Dockerfile +++ b/latest/php8.4/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.4/fpm/Dockerfile b/latest/php8.4/fpm/Dockerfile index d397e6dd72..005469df2f 100644 --- a/latest/php8.4/fpm/Dockerfile +++ b/latest/php8.4/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.5/apache/Dockerfile b/latest/php8.5/apache/Dockerfile index be41174dc8..ca7ec7d303 100644 --- a/latest/php8.5/apache/Dockerfile +++ b/latest/php8.5/apache/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/* diff --git a/latest/php8.5/fpm/Dockerfile b/latest/php8.5/fpm/Dockerfile index 97e729855e..8b31509200 100644 --- a/latest/php8.5/fpm/Dockerfile +++ b/latest/php8.5/fpm/Dockerfile @@ -12,6 +12,10 @@ RUN set -eux; \ apt-get install -y --no-install-recommends \ # Ghostscript is required for rendering PDF previews ghostscript \ +# pull in AV1 & HEVC image encoding (and not just decoding) +# https://github.com/docker-library/wordpress/issues/996 + libheif-plugin-aomenc \ + libheif-plugin-x265 \ ; \ rm -rf /var/lib/apt/lists/*