distroless icon indicating copy to clipboard operation
distroless copied to clipboard

Python image marked as experimental

Open slimm609 opened this issue 2 years ago • 5 comments

Looking at the readme python image is listed as experimental however when tracing back the history, the message about python image being experimental has been there for about 4 years. Is this just a left over message or is it still considered experimental?

The following images are also published on gcr.io, but are considered experimental and not recommended for production usage:

[gcr.io/distroless/python3-debian11](https://github.com/GoogleContainerTools/distroless/blob/main/experimental/python3/README.md)

slimm609 avatar Mar 11 '22 12:03 slimm609

Python has some special requirements (like a shell) and another included binary (ld.so.amd64.cache) which have it sitting in experimental -- we also don't have the current capability to enforce build preconditions on arm machines. I think @evanj might have some ideas here, but we haven't explored what it means to bring python outside of experimental. I'm not a python expert so I don't have a suggestion here. We're always open to someone providing a detailed design on this.

loosebazooka avatar Mar 11 '22 14:03 loosebazooka

Hello, @loosebazooka,

We are also looking for a production-ready distroless python image for our project (https://github.com/vmware/versatile-data-kit).

mivanov1988 avatar Apr 11 '22 10:04 mivanov1988

Hello, @loosebazooka, @evanj,

Do you plan to work on it?

mivanov1988 avatar Apr 14 '22 11:04 mivanov1988

I do not. I have made some small changes to distroless as a volunteer. The current python image meets my needs. Sorry!

evanj avatar Apr 14 '22 23:04 evanj

Hi, it would be very helpful to have a detailed list in the readme of what makes Python experimental (i.e. what are it's 'special requirements' are, exactly). This would help a little in understanding the risks are with using it, and whether they are relevant to my environment/context.

iainsproat avatar Aug 08 '22 09:08 iainsproat