-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Python 3.11 Alpine seems to have symlinks broken #927
Comments
Very similar to docker/compose#6292 (comment) |
@LaurentGoderre so what are you suggesting as solution? |
That kind of sounds like there's two versions of Python in the image (perhaps distro Python via Can we get a simplified/minimal reproducer? |
@tianon I think you have it already #927 (comment) or do you need something else? |
That's where the problem likely lies. If (Pinning to Alpine 3.19 would mean the |
I tried to get a reproducer by installing gcloud proved very difficult for this version of Python |
Error:
|
If you are |
This just got me but it turned out it was a misconfiguration on my part so hopefully this info can help someone else. The python docker image tags that end in In my case, I configured the alpine repositories to use our company Artifactory proxy for alpine 3.19 even though I was using the Usually I only use the non-pinned tags while initially developing things and then pin them down once I have a pipeline up and running. |
In some packages that depend on
python3.11-alpine
, build totally breaks, ie: aws/aws-cli#8698To reproduce this issue, build something on top of 3.11 Alpine:
Error message:
> [stage-2 5/17] RUN gcloud components install -q kubectl alpha beta gke-gcloud-auth-plugin: 0.265 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: pwritev2: symbol not found 0.265 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: preadv2: symbol not found 0.270 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: pwritev2: symbol not found 0.271 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: preadv2: symbol not found 0.273 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: pwritev2: symbol not found 0.273 Error relocating /usr/local/bin/../lib/libpython3.11.so.1.0: preadv2: symbol not found
At the moment I have a workaround since our build pipelines are failing, to pin to Alpine 3.19
FROM python:3.11.9-alpine3.19
The text was updated successfully, but these errors were encountered: