Don't strip debugging symbols in the regular Debian images#693
Merged
tianon merged 1 commit intodocker-library:masterfrom Feb 7, 2022
malor:debian-debuggability
Merged
Don't strip debugging symbols in the regular Debian images#693tianon merged 1 commit intodocker-library:masterfrom malor:debian-debuggability
tianon merged 1 commit intodocker-library:masterfrom
malor:debian-debuggability
Conversation
Since #687, the regular Debian images no longer ship DWARF symbols, which heavily limits the ability to use gdb and lldb for debugging. Stripping debugging symbols makes perfect sense to reduce the size of Docker images, but when this optimization was first introduced in #483, the idea was to restrict its use to the slim and Alpine images. That was (unintentionally?) changed in #483, and now debugging symbols are also stripped in the regular Debian images. Undo that change.
docker-library-bot
added a commit
to docker-library-bot/official-images
that referenced
this pull request
Feb 7, 2022
Changes: - docker-library/python@19739a9: Merge pull request docker-library/python#693 from malor/debian-debuggability - docker-library/python@1b6bc0c: Don't strip debugging symbols in the regular Debian images
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.
Since #687, the regular Debian images no longer ship DWARF symbols, which heavily limits the ability to use gdb and lldb for debugging.
Stripping debugging symbols makes perfect sense to reduce the size of Docker images, but when this optimization was first introduced in #483, the idea was to restrict its use to the slim and Alpine images. That was (unintentionally?) changed in #483, and now debugging symbols are also stripped in the regular Debian images. Undo that change.
Fixes #694 .