Sign inSign up

al3xos/python-distroless

By al3xos

•Updated 6 days ago

Up-to-date Python + its dependencies on a Google Distroless base image

Image
4

50K+

al3xos/python-distroless repository overview

For more information about this image and why it exists see my blog post on the topic here: https://alexos.dev/2022/07/08/creating-an-up-to-date-distroless-python-image/⁠

Source: https://github.com/alexdmoss/distroless-python⁠

!!! WARNING - breaking change

Change from Python 3.13.16 / 3.14.8 onwards: the distroless image no longer ships the builder's tooling (pip, poetry, pipenv, virtualenv and their dependencies) in site-packages - it contains Python and its standard library only. This removes vulnerabilities in packages your app should never use (e.g. urllib3 vendored inside pip) and cuts the image size by roughly two thirds.

If you were building without a virtual environment of your own, this may be a breaking change - revert to the previous specific pins (3.13.15 and 3.14.7) until you're able to fix it.

Tag summary

Content type

Image

Digest

sha256:889885843…

Size

20 MB

Last updated

6 days ago

docker pull al3xos/python-distroless:3.14.8-debian13-debug