Commit Graph

124 Commits

Author SHA1 Message Date
Christophe Monniez
5bf43c2893 [REF] Odoo 12.0-14.0: update to release 20210104 2021-01-04 08:24:26 +01:00
Christophe Monniez
b23832c33a [REF] Odoo 12.0-14.0: update to release 20201218 2020-12-18 15:22:14 +01:00
Christophe Monniez
a825afde09 [REF] Odoo 12.0-14.0: update to release 20201208 2020-12-08 10:25:53 +01:00
Christophe Monniez
920582ed77 [REF] Odoo 12.0-14.0: update to release 20201123 2020-11-23 14:31:16 +01:00
Christophe Monniez
867c2ae684 [REF] Odoo 12.0-14.0: update to release 20201112 2020-11-12 09:01:38 +01:00
Christophe Monniez
b5260037cb [REF] Odoo 12.0-14.0: update to release 20201026 2020-10-26 11:45:44 +01:00
Christophe Monniez
01aed14a6d [FIX] Odoo 13.0-14.0: update wkhtmltox sha1 sum
Oversight in PR #327.

Closes #328
2020-10-19 09:50:34 +02:00
Denny Biasiolli
d6dec44be9 [FIX] Odoo 12.0-13.0: fixing wkhtmltopdf package url
using `buster` package instead of `stretch`
2020-10-12 16:21:06 +02:00
Christophe Monniez
d9e5b758fc [REF] Odoo 12.0-14.0: update to release 20201012 2020-10-12 14:13:23 +02:00
Christophe Monniez
0ffdd00409 [ADD] Odoo: 14.0 2020-10-02 14:28:06 +02:00
Christophe Monniez
52216118ac [REF] Odoo 12.0-13.0: bump to release 20201002 2020-10-02 14:27:06 +02:00
Christophe Monniez
61f9859983 [REM] Odoo 11.0: remove unmaintained version 2020-10-02 09:23:03 +02:00
Christophe Monniez
1bddcda4b2 [REF] Odoo 11.0-13.0: update to release 20200826 2020-08-26 08:11:51 +02:00
Christophe Monniez
b4c45baf1f [REF] Odoo 11.0-13.0: update to release 20200629 2020-06-29 10:10:05 +02:00
Christophe Monniez
f116a674ca [FIX] Odoo 11.0-13.0: remove postgres source list after usage
When installing postgresql-client, the Debian repo from Postgresql is added as a source list.
As a consequence, when installing the Odoo debian packages, the
package dependencies are also searched in the Postgresql repo.

In this case, it appears that python3-werkzeug version 0.16 was
installed from the Postgresql repo.

Closes #299
2020-04-17 16:15:25 +02:00
Christophe Monniez
22ddf056d5 [IMP] Odoo 11.0-13.0: avoid masking return value of mktemp 2020-04-17 15:34:56 +02:00
Christophe Monniez
91a9019df7 [IMP] Odoo 11.0-13.0: avoid to install unnecessary packages 2020-04-17 15:34:56 +02:00
Andris
3e06fdf97d [FIX] Odoo 11.0-13.0: set the default shell to bash
It appears that dash can be unpredictable.

Also, uses the `pipefail` as stated in the Dockerfile best practice [1].

[1] https://github.com/docker/docker.github.io/blob/master/develop/develop-images/dockerfile_best-practices.md#using-pipes
2020-04-17 15:34:55 +02:00
Andris
9323219289 [FIX] Odoo 11.0-13.0: install odoo deb in one pass
Before this commit, the deb package was installed in two steps.
The first step was to use dpkg and force the install, the second step
was to repair the broken install.
2020-04-17 15:34:55 +02:00
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
Anang Aji Rahmawan
9c3a2dd128 [FIX] Odoo 11.0-13.0: get database config value 2019-11-06 16:24:15 +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
0660495954 [REF] Odoo 11.0-12.0: update to release 20191009 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
Christophe Monniez
b32f2033d1 [REM] Odoo 10.0: remove deprecated version 2019-10-08 08:35:11 +02:00
Christophe Monniez
b5f088de13 [REF] Odoo 10.0-12.0: update to release 20190816 2019-08-16 14:14:44 +02:00
Christophe Monniez
c6b79809f0 [REF] Odoo 10.0-12.0: update to release 20190424 2019-04-24 17:01:17 +02:00
Christophe Monniez
d3e44ad1f3 [FIX] Odoo 10.0-12.0: use long ID's for gpg keys
Use long gpg ID's to avoid collisions.
2019-01-31 17:18:17 +01:00
Christophe Monniez
87f0174dca [FIX] Odoo 10.0-12.0: use a more secure way to download keys
At build time, curl is used to download gnupg keys without any
verification.

This does not meet the Docker hub requirements:
https://github.com/docker-library/official-images#security

With this commit, gpg is used to download the keys with the best method
specified in the requirements.
2019-01-30 15:43:24 +01:00
Christophe Monniez
4ab6185614 [REF] Odoo 10.0-12.0: update to release 20190128
the release timestamp and the verification sha1 are now using an ARG
instruction.

It means that they can be specified on the command line argument at the
build time.
2019-01-29 15:23:57 +01:00
Christophe Monniez
a1463daf59 [FIX] Odoo 11.0-12.0: add asian fonts and rtlcss
When printing a report, the asian fonts were missing.
Also, since Odoo 12.0, rtlcss is needed to support the right-to-left languages
in the Odoo UI.

With this commit, the noto-cjk fonts are added as well as the nodejs rtlcss tool.
2019-01-29 14:41:08 +01:00
Christophe Monniez
01f0a1e508 [FIX] Odoo 10.0-12.0: use latest postgresql-client
As the Odoo Docker images are based on Debian Jessie and Stretch, they
use the postgresql-client package from the respective Debian repo.

The backup feature of Odoo uses the postgresql-client. As a consequence,
if a database server newer than the client is used, the backup may fail.

For example, when using the Odoo Docker image 10.0 against a postgresql
server 10.0, the backup fails.

With this commit, the latest postgresql-client is used from the Postgres
repository. As they seem to be backward compatible, the Odoo backup will
succeed wathever the client/server combination.

fixes odoo/odoo#30599
2019-01-29 14:34:05 +01:00
Christophe Monniez
5ef3bee9dc [FIX] Odoo 10.0-12.0: make curl download quieter
When downloading wkhtmltopdf, curl shows a progress status unecessary
during the builds.
2019-01-29 14:03:05 +01:00
Christophe Monniez
5cc7eae335 [FIX] Odoo 10.0-12.0: remove deprecated MAINTAINER instruction
The MAINTAINER instruction is deprecated since Docker version 1.13.
With this commit, the LABEL instruction is used instead.
2019-01-29 13:37:17 +01:00
Christophe Monniez
d036067821 [REF] Odoo 10.0-12.0: update to release 20181126 2018-11-26 14:15:56 +01:00
Christophe Monniez
5935496f14 [FIX] Odoo 10.0-12.0: update wkhtmltopdf to recommended version
wkhtmltopdf 0.12.5 is now the recommended version.
This commiit uses the Debian packages that exist for Jessie and Stretch.

Fixes #220
2018-11-26 14:10:38 +01:00
Christophe Monniez
05c776bcb2 [FIX] Odoo 10.0-12.0: add missing packages
In Odoo, ldap, qrcode and vobject python modules are set as required in
odoo/setup.py. On the other hand, they are only recommendend in the
Debian package.

As a consequence, it was difficult to run some Odoo modules that
required one of them.

The Odoo Debian package was adapted in master where they were added as
dependencies in odoo/odoo@2ff49c5fcb .

With this commit, they are installed in the Docker images.

This is a part of the fix of odoo/odoo#27752.
2018-11-26 14:02:31 +01:00