Closed Askaholic closed 1 year ago
I don’t think so. The python files are just installed to the system anyway. The user isn’t needed at all during the build process, it just exists for the container to use at run time.
So "other" users have read/execute permissions on the code directory?
Yes, the code is installed as a python package with pip. Just like if you were to system install any other dependency with pip.
Tested on the test server and it still works with the existing configuration.
Seems like some change in setuptools broke our docker build, however, this really just exposed a bug in our build where the
.git
directory was not being copied to the docker context and therefore the git version tag couldn't be found from thesetup.py
file. I went ahead and rewrote the dockerfile to use a multi-stage approach so we should no longer have build tools likegit
andpipenv
installed in the final container.Closes #953