details: https://code.tryton.org/tryton-docker/commit/3ce81d78c250
branch: default
user: Cédric Krier <[email protected]>
date: Fri Jun 05 08:41:28 2026 +0200
description:
Install psycopg packages from Debian package
They requires libpq dependencies
diffstat:
8.0/Dockerfile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 403947b61d18 -r 3ce81d78c250 8.0/Dockerfile
--- a/8.0/Dockerfile Tue May 26 12:35:51 2026 +0200
+++ b/8.0/Dockerfile Fri Jun 05 08:41:28 2026 +0200
@@ -43,6 +43,8 @@
python3-argcomplete \
bash-completion \
graphviz \
+ python3-psycopg \
+ python3-psycopg-pool \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /etc/bash_completion.d \
@@ -52,7 +54,7 @@
RUN export PIP_CONSTRAINT=/root/pip-constraints.txt \
&& touch /root/pip-constraints.txt \
&& pip3 install --break-system-packages --no-cache-dir \
-
"trytond[PostgreSQL,Levenshtein,barcode,coroutine,email-validation,html2text,image,mjml,qrcode,weasyprint]
== ${SERIES}.*" \
+
"trytond[Levenshtein,barcode,coroutine,email-validation,html2text,image,mjml,qrcode,weasyprint]
== ${SERIES}.*" \
"proteus == ${SERIES}.*" \
&& for module in `curl -L
https://downloads.tryton.org/${SERIES}/modules.txt`; do \
pip3 install --break-system-packages --no-cache-dir "trytond_${module}
== ${SERIES}.*" || exit 1; \