-
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
Alpine Python build performance issues #509
Comments
Alpine uses a different https://github.com/pypa/manylinux
In the docs it's mentioned that Alpine may behave differently from other Linux variants https://github.com/docker-library/docs/tree/master/python#pythonversion-alpine |
The size difference is also improved by #508: $ docker pull python:3.8
3.8: Pulling from library/python
Digest: sha256:2c1045587e4452d49544c6dce92efe21c3b4b33864cfb56fdee66a2c8585c769
Status: Image is up to date for python:3.8
docker.io/library/python:3.8
$ docker pull python:3.8-slim
3.8-slim: Pulling from library/python
Digest: sha256:a9e6f501d8330b2b00d87f3ff17cc0ef8c1c5031f8dfe428983d1c6fe7080338
Status: Image is up to date for python:3.8-slim
docker.io/library/python:3.8-slim
$ docker pull python:3.8-alpine
3.8-alpine: Pulling from library/python
Digest: sha256:bd7f0719874c7de4ca47418de143ab4de79731dc0b01fdcf2425b8a32f4823ce
Status: Image is up to date for python:3.8-alpine
docker.io/library/python:3.8-alpine
$ docker images python:3.8
REPOSITORY TAG IMAGE ID CREATED SIZE
python 3.8 79cc46abd78d 7 days ago 882MB
$ docker images python:3.8-slim
REPOSITORY TAG IMAGE ID CREATED SIZE
python 3.8-slim 38cd21c9e1a8 7 days ago 113MB
$ docker images python:3.8-alpine
REPOSITORY TAG IMAGE ID CREATED SIZE
python 3.8-alpine 44fceb565b2a 7 days ago 42.7MB |
According to this article, seems that build process have some issues in Alpine Python image
https://pythonspeed.com/articles/alpine-docker-python/
The text was updated successfully, but these errors were encountered: