container-debug-support icon indicating copy to clipboard operation
container-debug-support copied to clipboard

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

Open briandealwis opened this issue 4 years ago • 0 comments

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 cites existence of /lib/ld-musl-* and /lib/libc.musl-*.

briandealwis avatar May 13 '21 14:05 briandealwis