Repair wp/7.0 branch Actions: Fix wp-env Docker builds broken by archived Debian Bullseye repositories - #263
Conversation
7916454 to
00bc561
Compare
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
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. |
Cherry-picks d21304e (WordPress#82478) into the `wp/7.0` branch to fix failures encountered when attempting to use a version of PHP that relies on Debian Bullseye. Debian 11 ("bullseye") reached end-of-life on 2026-08-31 and its packages left the regular mirrors. Since then, `wp-env start`'s Docker build for the bullseye-based WordPress images fails during `apt-get -qy install sudo` with 404s against `deb.debian.org`. This branch supports PHP 7.4, 8.0, 8.1, and 8.2 within its wider support window, which fall within the bullseye-affected range, so the same class of fix already applied for Debian Stretch/Buster on this branch is needed here for Bullseye too: point the `bullseye` apt suite at `archive.debian.org`, dropping the `bullseye-security`/`bullseye-updates` suites entirely (rather than rewriting them) since `archive.debian.org` doesn't carry `bullseye-security` yet.
00bc561 to
c6228c0
Compare
|
Size Change: 0 B Total Size: 7.61 MB ℹ️ View Unchanged
|
|
Migrated to real upstream: WordPress#82808. Closing this fork PR. |
What?
Cherry-picks upstream trunk commit
d21304e3323571401364805242fc26d1cf03a52d(#82478) into this branch'swp-envpackage source (packages/env/lib/runtime/docker/init-config.js) to fixwp-envDocker build failures caused by the Debian Bullseye repositories being archived after Debian 11 reached end-of-life.Why?
Debian moves a release's package repositories to its archive server once that release reaches end-of-life.
wp-env start's Docker build fails withapt-get404s against the regular mirrors for any PHP version whose base image relies on the now-archived Bullseye release. This branch supports PHP 7.4, 8.0, 8.1, and 8.2 within its wider support window, which fall in the affected range, so the fix is needed even though this branch's CI may not actively test every affected PHP version — a contributor could still usewp-envlocally with any officially supported version.Use of AI Tools
This PR was authored with the help of Claude Code.