build: patch wp-env's PHP 7.4 image for Debian bullseye's EOL archive - #126
Conversation
Bullseye's LTS ended 2026-08-31 and deb.debian.org 404s on bullseye packages now; wp-env's PHP 7.4 image apt-get installs sudo and git from it during docker build. Redirects to a pinned snapshot.debian.org mirror instead, ported from WordPress/presence-api's fix for the same @wordpress/env gap. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
🛝 WordPress PlaygroundsBuilt from 4014dbd
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #126 +/- ##
=========================================
Coverage 71.09% 71.09%
Complexity 52 52
=========================================
Files 11 11
Lines 384 384
=========================================
Hits 273 273
Misses 111 111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Closes #123. Bullseye's LTS ended 2026-08-31; @wordpress/env's PHP 7.4 image still apt-get installs from deb.debian.org, which now 404s on bullseye packages. Redirects to a pinned snapshot.debian.org mirror via a postinstall script, ported from WordPress/presence-api's fix for the same gap. Verified the patched sources.list installs sudo cleanly against wordpress:php7.4 where the unpatched one 404s.