You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you look at the build logs for your local build with the flag added right after ./configure ... runs, you'll probably see something to the effect of "ignoring unknown flag" because Python 2.x doesn't actually support/use this flag (and thus ignores it, which is why your build still works).
wglambert
added
question
Usability question, not directly related to an error with the image
Request
Request for image modification or feature
labels
Dec 4, 2019
It looks like the 2.7 Dockerfiles are built off the "caveman" template. This template does not seem to have the optimization flag. We build our own Pythons so I do know that 2.7 does support the optimization flag. Maybe it should be added to the caveman template.
Hello Folks,
Looks like the python 2.7 images aren't using the '--enable-optimizations' in the configure step of python compilation (
python/2.7/buster/slim/Dockerfile
Line 62 in cf68ae0
I just built an image locally with the flag and it worked.
Thanks in advance.
The text was updated successfully, but these errors were encountered: