UNCLASSIFIED - NO CUI

Path issue in latest python38

The python image was recently rebuilt, and there seems to be some path issues now.

The old path was

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/Python-3.8.10

The new path is:

ENV PATH /usr/local/bin:$PATH

The result is that after downstream users of this container run something like pip install gunicorn, when running the container it errors out with the following:

/bin/sh: gunicorn: command not found

It's also curious that the URL for the Python source download changed. It looks like the official download URL should be (as listed on: https://www.python.org/downloads/source/)

https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz

as it was in the previous version.

Thanks for the help!

Edited by Kent McHenry