From 0672e3442ffbb13871adf6d81deb973458c39562 Mon Sep 17 00:00:00 2001 From: Brandt Kurowski Date: Thu, 20 Aug 2026 15:46:03 +0000 Subject: [PATCH] Upgrade base image to devcontainers/php:8.4 Pantheon runs PHP 8.4 (UCDCW-158, UP-1921), but this image still built on devcontainers/php:8.3. That gap is a real liability: local dev and CI both run this image, and Pantheon does not process php_version changes on multidevs, so neither local dev, nor CI, nor a PR environment could ever surface a PHP 8.4 deprecation. That is how the myeap2 8.4 deprecations reached TEST unnoticed, and why UCDCW-158 had to be verified out-of-band by running php -l inside a throwaway php:8.4-cli container. mcr.microsoft.com/devcontainers/php:8.4 ships PHP 8.4.23 -- the same patch release Pantheon's 8.4 runtime is on -- and is built on the same Debian 13 (trixie) base as the 8.3 tag, so the apt package set and every docker-php-ext-install / pecl step below are unaffected. Xdebug is included in the base image as before. Nothing else in the repo referenced the PHP version. Co-Authored-By: Claude Opus 5 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b84140..ffc3bb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/devcontainers/php:8.3 +FROM mcr.microsoft.com/devcontainers/php:8.4 # The php base image sets WORKDIR to /var/www/html, which devcontainer_on_create.sh # later deletes and replaces with a symlink to the mounted docroot. The devcontainer