Michael Kosir @michaelkosir.com ยท Mar 5

Experimenting with `uv` recently, a blazing-fast #Python package manager, and it's making #distroless images easier to work with. Hyper-fixated on image size optimizations ๐Ÿซ  For my use case, size breakdown: ๐Ÿ python (base): 1.07 GB ๐Ÿ python (slim): 192 MB ๐Ÿ distroless (w/ uv): 101 MB

2 likes 2 replies

?

Replies

Adam Faris ยท Jun 2

Nice multi-stage build demo. It seems both the Python interpreter and app code are copied from build. Why choose the Google container image over the scratch image for this example? Thanks.