Repository navigation
Conversation
Installs Xdebug 3.6.0alpha1 through PIE. This is currently the only Xdebug release that declares support for PHP 8.6 (>=8.2,<8.7). Like the other images, Xdebug is installed but not enabled, and is turned on at runtime with LOCAL_PHP_XDEBUG=true. libtool is also added, matching the other PIE-based images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
Member
Author
|
I've run the |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #230. This installs Xdebug on the PHP 8.6 image using PIE.
Changes
xdebug/xdebug:3.6.0alpha1withpie install --skip-enable-extension. 3.6.0alpha1 is currently the only Xdebug release whose Packagist metadata declares PHP 8.6 support (>=8.2,<8.7); 3.5.3 is capped at<8.6. Because the exact version is given, PIE resolves the alpha without an@alphastability flag.RUNstep only, the same way as on 8.1–8.5, so PIE is not shipped in the final image.libtoolis added to the 8.6 apt packages, matching 8.1–8.5 (PIE warns whenlibtoolizeis missing).entrypoint/common.shenables it whenLOCAL_PHP_XDEBUG=true.Generated by running
php update.php; onlyimages/8.6/php/Dockerfilechanged.Not changed
PCOV, Memcached, and Imagick are still not installed on 8.6, as their latest releases don't compile against it yet (see #230).
Testing
Built
images/8.6/phplocally:docker run --rm -e LOCAL_PHP_XDEBUG=true <image> php -vreportsPHP 8.6.0RC4 ... with Xdebug v3.6.0alpha1.LOCAL_PHP_XDEBUG, Xdebug isn't loaded.🤖 Generated with Claude Code