Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly enable phpdbg in CLI images and *disable* it in all others #1259

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

tianon
Copy link
Member

@tianon tianon commented Mar 2, 2022

Closes #1257

See also bwoebi/phpdbg-docs#1 (comment) (which is a comment from a PHP release manager ❤️):

phpdbg is primarily a CLI debugger, and is not suitable for debugging an fpm stack.

This should save ~13MB on all non-CLI variants (and no increase for CLI because it already included it 😂 😇).

@tianon tianon mentioned this pull request Mar 2, 2022
{{ if env.variant == "cli" then ( -}}
# https://github.com/docker-library/php/pull/1259
--enable-phpdbg \
--enable-phpdbg-readline \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how difficult it would be to make the default of this mirror whether we did --with-readline but that's certainly above my pay grade! 😄

@yosifkit yosifkit merged commit 3fb78b3 into docker-library:master Mar 2, 2022
@yosifkit yosifkit deleted the phpdbg branch March 2, 2022 01:10
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Mar 2, 2022
Changes:

- docker-library/php@3fb78b3: Merge pull request docker-library/php#1259 from infosiftr/phpdbg
- docker-library/php@c1d6083: Explicitly enable phpdbg in CLI images and *disable* it in all others
- docker-library/php@5a45417: Fix generate-stackbrew-library.sh to skip released RCs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable readline in phpdbg
2 participants