From 444be9568e615babf7fd60d8f70cfcb88867634c Mon Sep 17 00:00:00 2001 From: wluyima Date: Wed, 19 Jun 2024 19:01:51 +0300 Subject: [PATCH] OZ-575 - Upgraded wkhtmltox --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac9d295..ad3b27a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,11 @@ ARG ODOO_BRANCH=14.0 # Install dependencies RUN apt update && apt install -y git npm postgresql-client python3-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev \ - libtiff5-dev zlib1g-dev libfreetype6-dev wait-for-it xvfb libfontconfig wget \ + libtiff5-dev zlib1g-dev libfreetype6-dev wait-for-it xvfb libfontconfig fontconfig wget \ liblcms2-dev libwebp-dev libharfbuzz-dev libfribidi-dev libxcb1-dev libpq-dev gettext-base unzip xfonts-75dpi xfonts-base RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \ - wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${arch}.deb && \ - dpkg -i wkhtmltox_0.12.6-1.buster_${arch}.deb && cp /usr/local/bin/wkhtmltopdf /usr/bin && cp /usr/local/bin/wkhtmltoimage /usr/bin + wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_${arch}.deb && \ + dpkg -i wkhtmltox_0.12.6.1-3.bookworm_${arch}.deb && cp /usr/local/bin/wkhtmltopdf /usr/bin && cp /usr/local/bin/wkhtmltoimage /usr/bin RUN pip install phonenumbers RUN pip install python-jose RUN npm install -g rtlcss