changeset dc7b69731f11 in tryton-docker:default
details: https://hg.tryton.org/tryton-docker?cmd=changeset&node=dc7b69731f11
description:
        Ensure to prefer binary when installing weasyprint and Pillow
diffstat:

 5.8/Dockerfile |  2 +-
 6.0/Dockerfile |  4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 84241ee28f20 -r dc7b69731f11 5.8/Dockerfile
--- a/5.8/Dockerfile    Sun Oct 17 10:25:55 2021 +0200
+++ b/5.8/Dockerfile    Sun Oct 17 10:26:33 2021 +0200
@@ -78,7 +78,7 @@
         pygal \
         python-stdnum[SOAP] \
     # Use wheels as Debian compiled dependencies are too old
-    && pip3 install --no-cache-dir \
+    && pip3 install --no-cache-dir --prefer-binary \
         "weasyprint < 53"
 
 COPY --from=builder-node /package /var/lib/trytond/www
diff -r 84241ee28f20 -r dc7b69731f11 6.0/Dockerfile
--- a/6.0/Dockerfile    Sun Oct 17 10:25:55 2021 +0200
+++ b/6.0/Dockerfile    Sun Oct 17 10:26:33 2021 +0200
@@ -79,10 +79,10 @@
         pygal \
         python-stdnum[SOAP] \
     # Use wheels as Debian compiled dependencies are too old
-    && pip3 install --no-cache-dir \
+    && pip3 install --no-cache-dir --prefer-binary \
         "weasyprint < 53" \
     # Upgrade Pillow as Debian compiled is too old but keep installed 
dependencies
-    && pip3 install --upgrade --no-cache-dir \
+    && pip3 install --upgrade --no-cache-dir --prefer-binary \
         Pillow
 
 COPY --from=builder-node /package /var/lib/trytond/www

Reply via email to