odootools
odootools copied to clipboard
Add more support for other distribution that Ubuntu
Currently, the phase in which packages are installed based on apt-packages.txt is very dependent on the platform being ubuntu. It's also impossible to install odoo without some particular requirements that aren't python libraries.
As a result, the deb packages required to install odoo are hard coded in scripts that generate odoo docker image. In practice we can get the list of packages here https://github.com/odoo/odoo/tree/15.0/setup and insert it inside this libary to automate the process based on the deteced os. But those are more than all the required dependencies to run odoo.
Sometimes, some package are only required temporarily to install python packages. In that case we need to remove them to prevent the docker image size to become bigger than necessary.