docker-library / wordpress

Docker Official Image packaging for WordPress
https://wordpress.org/
GNU General Public License v2.0
1.78k stars 1.07k forks source link

Remove php8.0 variants as it has reached end of life #863

Closed yosifkit closed 10 months ago

yosifkit commented 10 months ago

See also https://www.php.net/supported-versions.php + https://github.com/docker-library/php/pull/1463

This also moves the default PHP version from 8.0 to 8.2 since it is just as supported; see wordpress.org hosting handbook:

WordPress supports many versions of PHP, some even obsolete (PHP Compatibility and WordPress Versions), for hosting companies we recommend: WordPress 6.4

IMPORTANT: WordPress 6.4 is compatible with exceptions with PHP 8.0, PHP 8.1, and PHP 8.2, and beta compatible with PHP 8.3.

What “compatible with exceptions” means?

yosifkit commented 10 months ago
 $ diff -u ../official-images/library/wordpress <(./generate-stackbrew-library.sh)
--- ../official-images/library/wordpress        2023-11-30 12:25:07.421378927 -0800
+++ /dev/fd/63  2023-11-30 12:25:13.691378979 -0800
@@ -1,24 +1,9 @@
-# this file is generated via https://github.com/docker-library/wordpress/blob/9805367fb85866f8a273a0c983f274e3be98638a/generate-stackbrew-library.sh
+# this file is generated via https://github.com/docker-library/wordpress/blob/41679683d8bdf995d53318bef2e34e328239eace/generate-stackbrew-library.sh

 Maintainers: Tianon Gravi <admwiggin@gmail.com> (@tianon),
              Joseph Ferguson <yosifkit@gmail.com> (@yosifkit)
 GitRepo: https://github.com/docker-library/wordpress.git

-Tags: 6.4.1-apache, 6.4-apache, 6-apache, apache, 6.4.1, 6.4, 6, latest, 6.4.1-php8.0-apache, 6.4-php8.0-apache, 6-php8.0-apache, php8.0-apache, 6.4.1-php8.0, 6.4-php8.0, 6-php8.0, php8.0
-Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
-Directory: latest/php8.0/apache
-
-Tags: 6.4.1-fpm, 6.4-fpm, 6-fpm, fpm, 6.4.1-php8.0-fpm, 6.4-php8.0-fpm, 6-php8.0-fpm, php8.0-fpm
-Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
-Directory: latest/php8.0/fpm
-
-Tags: 6.4.1-fpm-alpine, 6.4-fpm-alpine, 6-fpm-alpine, fpm-alpine, 6.4.1-php8.0-fpm-alpine, 6.4-php8.0-fpm-alpine, 6-php8.0-fpm-alpine, php8.0-fpm-alpine
-Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
-Directory: latest/php8.0/fpm-alpine
-
 Tags: 6.4.1-php8.1-apache, 6.4-php8.1-apache, 6-php8.1-apache, php8.1-apache, 6.4.1-php8.1, 6.4-php8.1, 6-php8.1, php8.1
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
@@ -34,17 +19,17 @@
 GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
 Directory: latest/php8.1/fpm-alpine

-Tags: 6.4.1-php8.2-apache, 6.4-php8.2-apache, 6-php8.2-apache, php8.2-apache, 6.4.1-php8.2, 6.4-php8.2, 6-php8.2, php8.2
+Tags: 6.4.1-apache, 6.4-apache, 6-apache, apache, 6.4.1, 6.4, 6, latest, 6.4.1-php8.2-apache, 6.4-php8.2-apache, 6-php8.2-apache, php8.2-apache, 6.4.1-php8.2, 6.4-php8.2, 6-php8.2, php8.2
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
 Directory: latest/php8.2/apache

-Tags: 6.4.1-php8.2-fpm, 6.4-php8.2-fpm, 6-php8.2-fpm, php8.2-fpm
+Tags: 6.4.1-fpm, 6.4-fpm, 6-fpm, fpm, 6.4.1-php8.2-fpm, 6.4-php8.2-fpm, 6-php8.2-fpm, php8.2-fpm
 Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
 GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
 Directory: latest/php8.2/fpm

-Tags: 6.4.1-php8.2-fpm-alpine, 6.4-php8.2-fpm-alpine, 6-php8.2-fpm-alpine, php8.2-fpm-alpine
+Tags: 6.4.1-fpm-alpine, 6.4-fpm-alpine, 6-fpm-alpine, fpm-alpine, 6.4.1-php8.2-fpm-alpine, 6.4-php8.2-fpm-alpine, 6-php8.2-fpm-alpine, php8.2-fpm-alpine
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 4b4966247eb33c6c219cf682f1750ed5685d21c9
 Directory: latest/php8.2/fpm-alpine
@@ -64,17 +49,12 @@
 GitCommit: d1cc7e6a226cf23ade72b83990310980e7ac5c2b
 Directory: latest/php8.3/fpm-alpine

-Tags: cli-2.9.0, cli-2.9, cli-2, cli, cli-2.9.0-php8.0, cli-2.9-php8.0, cli-2-php8.0, cli-php8.0
-Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 480b5c35eb6382f4ae5581cfb9dfe54873d4f4a0
-Directory: cli/php8.0/alpine
-
 Tags: cli-2.9.0-php8.1, cli-2.9-php8.1, cli-2-php8.1, cli-php8.1
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 480b5c35eb6382f4ae5581cfb9dfe54873d4f4a0
 Directory: cli/php8.1/alpine

-Tags: cli-2.9.0-php8.2, cli-2.9-php8.2, cli-2-php8.2, cli-php8.2
+Tags: cli-2.9.0, cli-2.9, cli-2, cli, cli-2.9.0-php8.2, cli-2.9-php8.2, cli-2-php8.2, cli-php8.2
 Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
 GitCommit: 480b5c35eb6382f4ae5581cfb9dfe54873d4f4a0
 Directory: cli/php8.2/alpine