GoogleContainerTools / GoogleContainerTools/container-debug-support

Python images need to support MUSL-based systems (alpine)

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
kind/enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.