Commit Graph

16 Commits

Author SHA1 Message Date
Christophe Monniez
d38f9ccc04 [REF] Odoo 11.0-13.0: update to release 20200417
Closes #298
2020-04-17 11:07:57 +02:00
Christophe Monniez
b4779b0e56 [IMP] Odoo 11.0-13.0: also exports port 8072
Although the `EXPOSE` instruction does not actually publish the ports,
it has an impact on inter docker communication.

With this commit, port 8072 is also exposed.

Closes #107
2020-03-31 15:39:25 +02:00
Christophe Monniez
6d92142da1 [IMP] Odoo 11.0-13.0: install python-slugify
The Odoo's fallback for the slugify_one method does only support latin
letters. This commit installs the python-slugify library from the Debian
packages.

Closes #199

Thanks to @lem8r for the report and PR.
2020-01-23 14:38:36 +01:00
Christophe Monniez
0c835c7485 [IMP] Odoo 11.0-13.0: remove a RUN layer
Small improvement to minimze the number of layers.
Thanks to @valerianpereira for the PR.

Closes #188
2020-01-22 15:57:16 +01:00
Christophe Monniez
6011cc7931 [FIX] Odoo 11.0-13.0: add xlrd library to allow xls import
Fixes #262
2020-01-21 16:21:24 +01:00
Christophe Monniez
740e5dc53d [FIX] Odoo 11.0-13.0: use an absolute path for psql source list
When creating an apt source list for Postgresql Debian package, the
redirection uses a relative path. It works because the default WORKDIR
but it's a fragile bad practice.

Thanks to @fractalf and @alorence for the bug report and investigation.

closes #287, closes #290
2020-01-21 10:33:48 +01:00
Christophe Monniez
b82980338d [REF] Odoo 11.0-13.0: update to release 20200121 2020-01-21 10:26:17 +01:00
Christophe Monniez
596a7cabc0 [REF] Odoo 11.0-13.0: update to release 20191106 2019-11-06 16:46:09 +01:00
Christophe Monniez
ffe62bdd52 [FIX] Odoo 11.0-12.0: replace wait-for-it script
As the wait-for-it script is started before the parsing of the command
line, it is always started. It can be a problem if a user wants to start
some other binary than odoo (for example a shell).

Also, the wait-for-it script is only checking if a port is open on a
host and then waits 5 seconds before starting Odoo.

With this commit, the wait-for-it script is replaced by a more useful
custom python script that checks if the postgresql server is able to
handle a connection with the given parameters. Odoo then starts whenever
it's ready or fails after a 30 sec timeout.
2019-10-23 15:44:58 +02:00
Christophe Monniez
19c6725881 [REF] Odoo 11.0-13.0: update to release 20191022 2019-10-22 13:26:30 +02:00
rbuisson
14e51ae334 [IMP] 11.0-13.0: Wait for PostgreSQL before starting Odoo
In some situations, like when a docker compose file use a data volume
to persist postgresql databases, the Odoo server starts and tries to
connect to database server before the postgresql server is ready.

In such a case, the Odoo containers fails to start.

With this commit, the wait-for-it script is used to wait for the
database server service to be ready before starting Odoo.

This script is available as a Debian package.

Closes #258, closes #259
2019-10-16 13:16:21 +02:00
Christophe Monniez
f126d72f66 [FIX] 11.0-13.0: use apt-get to install wkhtmltopdf
Usage of apt-get should prevent installing wkhtmltopdf on wrong
architecture.
2019-10-12 12:44:02 +02:00
Christophe Monniez
c1fbc53720 [FIX] 11.0-13.0: use gpg batch mode
Without batch option, gpg may try to use /dev/tty.

See https://bugs.debian.org/913614
2019-10-12 12:44:02 +02:00
Christophe Monniez
9409487426 [FIX] 11.0-13.0: install phonenumbers and use slim images
While phonenumbers is not required to run Odoo, it's a requested nice to
have.

To avoid a red warning while installing num2words with pip, the Debian
backport repository is used.

Also use Debian slim images to gain some space.

closes #245 and closes #168
2019-10-12 12:37:54 +02:00
Christophe Monniez
6ba07c93c3 [FIX] 11.0-13.0: remove deprecated label usage 2019-10-12 12:32:18 +02:00
Christophe Monniez
6e7938ab6a [ADD] Odoo: 13.0
* Add Odoo version 13.0 release 20191009
2019-10-09 13:49:49 +02:00