From 5de64f8c377da330acf596da57816bf34584ee7e Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 7 Sep 2026 15:31:09 +0000 Subject: [PATCH 1/3] Upgrade PHP 8.2-8.5 images to Debian bookworm Change the base image from dockette/debian:bullseye to dockette/debian:bookworm for the CLI and FPM images of PHP 8.2, 8.3, 8.4 and 8.5. The sury repository line uses lsb_release -sc, thus it points to the bookworm suite without more changes. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Bi3iVf389XhA112qsqJg4r --- 8.2-fpm/Dockerfile | 2 +- 8.2/Dockerfile | 2 +- 8.3-fpm/Dockerfile | 2 +- 8.3/Dockerfile | 2 +- 8.4-fpm/Dockerfile | 2 +- 8.4/Dockerfile | 2 +- 8.5-fpm/Dockerfile | 2 +- 8.5/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/8.2-fpm/Dockerfile b/8.2-fpm/Dockerfile index 1cbfd52..ba41133 100644 --- a/8.2-fpm/Dockerfile +++ b/8.2-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.2/Dockerfile b/8.2/Dockerfile index fe4520c..cdbffbc 100644 --- a/8.2/Dockerfile +++ b/8.2/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.3-fpm/Dockerfile b/8.3-fpm/Dockerfile index bc5badc..378f228 100644 --- a/8.3-fpm/Dockerfile +++ b/8.3-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.3/Dockerfile b/8.3/Dockerfile index 260a04a..9895309 100644 --- a/8.3/Dockerfile +++ b/8.3/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.4-fpm/Dockerfile b/8.4-fpm/Dockerfile index 9a18021..2a2f821 100644 --- a/8.4-fpm/Dockerfile +++ b/8.4-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.4/Dockerfile b/8.4/Dockerfile index 4a375f1..934ef3b 100644 --- a/8.4/Dockerfile +++ b/8.4/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.5-fpm/Dockerfile b/8.5-fpm/Dockerfile index 4098422..a1630fc 100644 --- a/8.5-fpm/Dockerfile +++ b/8.5-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.5/Dockerfile b/8.5/Dockerfile index d391840..55a6012 100644 --- a/8.5/Dockerfile +++ b/8.5/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" From 4a2589efc1df1803f7e849fed3e4817f36e5692e Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 7 Sep 2026 16:09:23 +0000 Subject: [PATCH 2/3] Upgrade the remaining PHP images to Debian bookworm Change the base image from dockette/debian:bullseye to dockette/debian:bookworm for PHP 5.6 - 8.1, CLI and FPM. All 24 images now use the same base. The sury bullseye suite stopped serving these packages, thus the bullseye builds fail with apt exit code 100. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Bi3iVf389XhA112qsqJg4r --- 5.6-fpm/Dockerfile | 2 +- 5.6/Dockerfile | 2 +- 7.0-fpm/Dockerfile | 2 +- 7.0/Dockerfile | 2 +- 7.1-fpm/Dockerfile | 2 +- 7.1/Dockerfile | 2 +- 7.2-fpm/Dockerfile | 2 +- 7.2/Dockerfile | 2 +- 7.3-fpm/Dockerfile | 2 +- 7.3/Dockerfile | 2 +- 7.4-fpm/Dockerfile | 2 +- 7.4/Dockerfile | 2 +- 8.0-fpm/Dockerfile | 2 +- 8.0/Dockerfile | 2 +- 8.1-fpm/Dockerfile | 2 +- 8.1/Dockerfile | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/5.6-fpm/Dockerfile b/5.6-fpm/Dockerfile index ae8dff3..9ac4260 100644 --- a/5.6-fpm/Dockerfile +++ b/5.6-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/5.6/Dockerfile b/5.6/Dockerfile index 6109a35..88e8141 100644 --- a/5.6/Dockerfile +++ b/5.6/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.0-fpm/Dockerfile b/7.0-fpm/Dockerfile index 09dcb5a..d678e78 100644 --- a/7.0-fpm/Dockerfile +++ b/7.0-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.0/Dockerfile b/7.0/Dockerfile index f048e59..be42042 100644 --- a/7.0/Dockerfile +++ b/7.0/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.1-fpm/Dockerfile b/7.1-fpm/Dockerfile index befbce9..05e27c9 100644 --- a/7.1-fpm/Dockerfile +++ b/7.1-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.1/Dockerfile b/7.1/Dockerfile index 9cec968..85d1e3a 100644 --- a/7.1/Dockerfile +++ b/7.1/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.2-fpm/Dockerfile b/7.2-fpm/Dockerfile index f8baeeb..a95c2c0 100644 --- a/7.2-fpm/Dockerfile +++ b/7.2-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.2/Dockerfile b/7.2/Dockerfile index f6eb1c2..e51532e 100644 --- a/7.2/Dockerfile +++ b/7.2/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.3-fpm/Dockerfile b/7.3-fpm/Dockerfile index 4f69bf9..5446e31 100644 --- a/7.3-fpm/Dockerfile +++ b/7.3-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.3/Dockerfile b/7.3/Dockerfile index 62fa943..eeff18a 100644 --- a/7.3/Dockerfile +++ b/7.3/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.4-fpm/Dockerfile b/7.4-fpm/Dockerfile index 3a51284..2ed1326 100644 --- a/7.4-fpm/Dockerfile +++ b/7.4-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/7.4/Dockerfile b/7.4/Dockerfile index 052ea74..0d78cc4 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.0-fpm/Dockerfile b/8.0-fpm/Dockerfile index 57e1f1e..63455a0 100644 --- a/8.0-fpm/Dockerfile +++ b/8.0-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 868a281..c93a788 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.1-fpm/Dockerfile b/8.1-fpm/Dockerfile index 94dea0e..52e00c7 100644 --- a/8.1-fpm/Dockerfile +++ b/8.1-fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" diff --git a/8.1/Dockerfile b/8.1/Dockerfile index 46db0f9..06fc522 100644 --- a/8.1/Dockerfile +++ b/8.1/Dockerfile @@ -1,4 +1,4 @@ -FROM dockette/debian:bullseye +FROM dockette/debian:bookworm LABEL maintainer="sulcmil@gmail.com" From 8374ccec89bf485f9ffe305dbb77fee2ced43eb4 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 7 Sep 2026 16:10:11 +0000 Subject: [PATCH 3/3] README: show the PHP extensions in a table Replace the prose list with a table of extension against PHP version. The table content comes from the Dockerfiles. Move the cli, cgi, phpdbg and fpm SAPIs into a note, because they are not extensions. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Bi3iVf389XhA112qsqJg4r --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70ae036..16d16de 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,39 @@ These images have preinstalled couple of linux packages: apt-transport-https ca- ### PHP extensions -These images have preinstalled couple of PHP extensions: apcu, bcmath, bz2, calendar, cgi, cli, ctype, curl, fpm (in*-fpm), geoip, gettext, gd, intl, imagick, imap, ldap, mbstring, mcrypt (<7.2), memcached, mysql, pcov (7.1 - 8.4), pdo, pgsql redis, soap, sqlite3, ssh2 (<7.2), xmlrpc, xsl, zip. +These images have preinstalled a couple of PHP extensions. The table shows which extension each version has. + +| Extension | 5.6 | 7.0 | 7.1 | 7.2 | 7.3 | 7.4 | 8.0 | 8.1 | 8.2 | 8.3 | 8.4 | 8.5 | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| apcu | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| bcmath | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| bz2 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| calendar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| ctype | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| curl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| gd | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| geoip | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| gettext | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| imagick | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| imap | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| intl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| ldap | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| mbstring | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| mcrypt | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| memcached | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| mysql | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| pcov | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | +| pdo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| pgsql | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| redis | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | +| soap | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| sqlite3 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| ssh2 | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| xmlrpc | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| xsl | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| zip | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | + +All versions also have these SAPIs: cli, cgi and phpdbg. The `*-fpm` images have fpm in addition. ### Composer