docker-library / python

Docker Official Image packaging for Python

Home Page:https://www.python.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Official Image python:<version>-alpine issue

cciradih opened this issue · comments

From my observation, there is a problem with the image based on alpine 3.20⁠. I don't know the root cause, but it appears to cause the following errors:

Error relocating /usr/local/bin/../lib/libpython3.12.so.1.0: pwritev2: symbol not found
Error relocating /usr/local/bin/../lib/libpython3.12.so.1.0: preadv2: symbol not found

Downgrading to alpine 3.19 can solve this problem.

Use FROM python:alpine3.19 instead of FROM python:alpine.

I think this is a duplicate of #927