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

未關閉
#73 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
devtools

研究方向

先檢查新的 Python 啟動器,以及 skaffold debug 如何識別映像。使用 issue 中列出的 Alpine 指標,例如 /etc/os-release 和 /lib/ld-musl-*,來定義執行階段偵測。完成標準是 Python Alpine 映像可以接收 musl 專用的偵錯器設定,並能由 skaffold debug 選取。

由索引模型根據 Issue 內容生成。

描述

kind/enhancement

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-*.

主要語言
Go
星號
105
分支
33
平均合併
3 小時 4 分鐘
30 天內合併 PR
3

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GoogleContainerTools/container-debug-support 的其他 Issue

查看 GoogleContainerTools/container-debug-support 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。