fedora-cloud / docker-brew-fedora

MIT License
176 stars 46 forks source link

Finding python library in /usr/.local and ~/.local #110

Open aliencrash opened 1 year ago

aliencrash commented 1 year ago

Hi,

I'm using fedora image 36 to create my container image for Odoo. but I found a behavior that is strange and only happen with fedora container. Since our infrastruture is K8s we use Init Container to run pip install commands when they find requirement files. since the container is already running, and the user is not root user, this library are installed in Odoo user home directory. If I use debian container Odoo is able to find the python modules with no issue, but from fedora container the python library is not found. Even if we install library in /usr/local they are not found either.