GoogleContainerTools / GoogleContainerTools/container-debug-support
Python images need to support MUSL-based systems (alpine)
- Dominant language
- Go
- Stars
- 104
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
The `python:xx-alpine` images require Python debugger packages setup for musl. There doesn't seem to be any image metadata to identify musl/alpine-based images, so `skaffold debug` can't select a musl-specific image. So this seems to be something that has to be detected at runtime with the new python launcher.
Alpine images:
- /etc/os-release has ID=alpine
- /lib/ld-musl-x86_64.so.1
- /lib/libc.musl-x86_64.so.1
- /lib/libapk.so.3.12.0
- no /lib64
This [answer](https://unix.stackexchange.com/a/605854/65738) cites existence of /lib/ld-musl-* and /lib/libc.musl-*.
Contributor guide
Research direction
Start by examining the new Python launcher and how `skaffold debug` identifies images. Use the Alpine indicators listed in the issue, such as `/etc/os-release` and `/lib/ld-musl-*`, to define runtime detection. Done means Python Alpine images can receive musl-specific debugger setup and be selected by `skaffold debug`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100