* Expose port 8072
* Install Odoo Debian package in one command
* Set default shell to bash
* Use --no-install-recommends
* Avoid masking of return values when assign and export
* Remove postgresql source list after install
* Add the new Odoo version 13.0
* Remove deprecated version 10.0
* Update supported versions to release 20191022
* Install phonenumbers in supported versions
* Upgrade pip before installing pip packages
* Remove arm64v8 support (missing wkhtmltopdf package)
* wait for database to be up with a custom script
@sle-odoo has been doing most of the follow-up on Odoo's official
Dockerfiles lately, so it makes sense to contact him about it in
the future.
Also bump up the releases to 20170815, to include the latest bugfixes,
long overdue.
The refactoring of environment variables introduced in [1] introduced
two bugs: the crendentials of the configuration file were ignored [2]
and the subcommands were broken [3]. These bugs are now fixed and we
take advantage of this commit to upgrade the odoo releases at the date
of today.
[1] 5c26243b10
[2] b8e9cd478a
[3] a2559e47d5
This upgrade brings a refactoring of the use of environment variables
in order to allow the use of docker compose and to workaround some
issues with the postgresql connection. We also update the Odoo codebase
to the 20161103 version.
Revision [1] allows to link Odoo with a non-linked postgres container by
checking new environment variables defining the credentials if the linked
ones aren't present. Along revision [2], they define new default values
for these credentials, allowing to write a short docker-compose.yml.
We also discovered issues in the Odoo codebase with the use of the PG*
environment variables in order to connect to the postgresql host. This
is explained in [3]. These issues aren't fixable due do our stable
policy, so we decided to not rely on them but instead to pass the
postgresql credentials to odoo as argument. In this case, everything is
working as expected. This is done in [4] and [5].
More informations are available on the commit themselves. These changes
should be backward compatibles.
[1] 9621c46392
[2] 13fba407e1
[3] https://github.com/odoo/docker/pull/74#issuecomment-256956274
[4] a3d207f2d4
[5] ab612f290f