diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-11-19 15:22:11 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-11-19 15:34:13 +0000 |
| commit | 51ee0c3cb59810449a60dae0b086b49b1ed6f946 (patch) | |
| tree | b9a7b01b148c97b663cea7585c77dc5f52f6fd76 /setup/package.dfdebian | |
| parent | 7c3d5dc067c7c331dcc0b52bafbdfd067087a3c4 (diff) | |
[FIX] packaging: add qrcode package to docker file
After the Odoo package is built, the package.py script uses a Docker
image to test the package. After that python3-qrcode was added as a
dependency for the package in 2ff49c5f , it revealed some issues.
A missing cli parameter and a forgotten '&&' in the Dockerfile prevented
the installation of the depending packages.
Also, the script shebang was wrong by launching python2.
Finally, the fact that python3-xlwt is missing in Debian stretch was
highlighted. With this commit, the python3-xlwt is explicitly removed
from the dependencies and the documentation is updated accordingly.
closes odoo/odoo#28807
Diffstat (limited to 'setup/package.dfdebian')
| -rw-r--r-- | setup/package.dfdebian | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup/package.dfdebian b/setup/package.dfdebian index 51f97b060ad..13001fe400e 100644 --- a/setup/package.dfdebian +++ b/setup/package.dfdebian @@ -15,7 +15,7 @@ ENV LC_ALL C.UTF-8 RUN apt-get update -qq && \ apt-get upgrade -qq -y && \ - apt-get install \ + apt-get install -qq -y\ adduser \ postgresql \ postgresql-client \ @@ -40,6 +40,7 @@ RUN apt-get update -qq && \ python3-pydot \ python3-pyparsing \ python3-pypdf2 \ + python3-qrcode \ python3-reportlab \ python3-requests \ python3-serial \ @@ -49,7 +50,7 @@ RUN apt-get update -qq && \ python3-vatnumber \ python3-vobject \ python3-werkzeug \ - python3-xlsxwriter \ + python3-xlsxwriter && \ rm -rf /var/lib/apt/lists/* RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc |
