Live data from Hacker News

Optimized Python Docker Image

revsys.com

1–10 of 18 posts

Re: Optimized Python Docker Image

#5
post #4
post #2

Why aren't these just upstreamed onto the official Python binaries?

I think these optimizations are upstream, but they're not in the canonical 'python' docker image: https://github.com/docker-library/python/issues/160

Ah I see, that makes sense, thank you.

Re: Optimized Python Docker Image

#6
post #3

Binary docker image, with no (public) reproducible build system? No thanks.

Also, I wonder how many obscure bugs were introduced by using more aggressive compiler flags? The image has "lto" in the name, and at https://github.com/docker-library/python/issues/160 I see this comment:

> In the future the Python developers may decide to turn on further optimizations based on this argument, for example link-time optimizations (LTO), though they haven't worked out all the bugs for that one yet.

(Thanks mastax for finding the issue!)

Re: Optimized Python Docker Image

#8
Am I totally misunderstanding something or there is no Dockerfile referenced? If so, is this just a binary blob I pull from a public registry?

I have some trust concerns about basing my infrastructure on something opaque.

Re: Optimized Python Docker Image

#10
post #8

Am I totally misunderstanding something or there is no Dockerfile referenced? If so, is this just a binary blob I pull from a public registry? I have some trust concerns about basing my infrastructure on something opaque.

Absolutely! Was just an oversight on our part, here is the Dockerfile and build info https://github.com/revsys/optimized-python-docker
Post reply on HN