Python 3.8 /home/python bin's are not on $PATH
Summary
Related to #146 (closed), the new python base image omits /home/python/.local/bin and /home/python/bin from $PATH
Note that this impacts user space pip installs (pip install --user) from running because the user space where those packages are installed is no longer on $PATH.
Steps to reproduce
docker run --rm -it registry1.dso.mil/ironbank/opensource/python:v3.8
echo $PATH
What is the current bug behavior?
Only a few system bin locations are listed.
What is the expected correct behavior?
/home/python/.local/bin:/home/python/bin are included as in previous versions of the container.
Relevant logs and/or screenshots
Note, you can verify this by running pip install --user coverage
followed by coverage
to see the if it will work. The expectation is that you can run coverage
by itself. (In the error state, coverage cannot be run directly, but does run with the full path ~/.local/bin/coverage
).
Possible fixes
Add the home paths back to the environment $PATH.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info