distroless
distroless copied to clipboard
Python 3.8 base
Recently moved over to distroless for my Go services and am very pleased with the results. Would love to start poking around the experimental python versions.
I noticed that the current python3 distroless image is based on python 3.7. I was wondering if there were plans to support python 3.8, as most of my services are currently written with 3.8 compatibility in mind, and with python 3.9 getting close to release it seems like it might be a nice option to have.
Thank you!
This repo is primarily maintained and driven by the community (the users) and thus welcomes external contributions. I would be interested in seeing how the community decides the direction and implementation, or if it will be implemented eventually.
I usually see it takes time before a sufficient number of people gather to amass a sizable momentum to make this kind of work go forward.
I think #614 will make a big difference to the ease of implementing this feature request. Why? Because the current package system is geared towards stable packages, and python 3.8 is only packaged in sid/unstable.
It is possible to take that PR branch, update python to 3.8.6 and glibc to 2.31 and build a python 3.8 image. That said, folks may not be keen on using an "unstable" package in production. Which means this feature request would be blocked on Bullseye being released and supported here.
Caveat: I haven't tested it extensively, but was able to run a Hug API with a SQLite backend on my mac via docker.
Any updates on this? Possibly for 3.9? We're running into real issues with backwards compatibility and have to switch the image to another distro just because of this 😞 I concur that having an unstable
or sid
tag would be great here, to avoid stability issues.
Same here. I have a project that requires Python 3.8, but I also want to use the distroless image, which is not possible at the moment.
Tried the ragawan/python-distroless images ?
What about fetchy/python:3.8, why it's not working in the same way as Google's
one?
Is anyone working on this? I was thinking if it's possible to do something similar to what's done with nodejs so distroless doesn't need to rely on Debian packages to install python like the official docker images don't.
The issue is Python doesn't provide binaries, only the source code. I wonder whether is possible or makes sense to compile Python with Bazel.
Another vote to have different versions of python 3 available for distroless. Thanks in advance!