From a4493c52f3217264972b9584a78cb1a5bd6e7a68 Mon Sep 17 00:00:00 2001 From: Marcus Ahlfors Date: Mon, 16 Oct 2023 23:58:08 +0300 Subject: [PATCH] Fix odoo build --- Odoo16Docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Odoo16Docker/Dockerfile b/Odoo16Docker/Dockerfile index 3d20b84..44c2c1b 100644 --- a/Odoo16Docker/Dockerfile +++ b/Odoo16Docker/Dockerfile @@ -33,8 +33,11 @@ RUN apt-get update && \ python3-xlrd \ python3-xlwt \ xz-utils \ - && curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb \ - && echo 'ea8277df4297afc507c61122f3c349af142f31e5 wkhtmltox.deb' | sha1sum -c - \ + # Fix for arm build issue + #&& curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb \ + #&& echo 'ea8277df4297afc507c61122f3c349af142f31e5 wkhtmltox.deb' | sha1sum -c - \ + && curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_arm64.deb \ + && apt-get install -y --no-install-recommends ./wkhtmltox.deb \ && rm -rf /var/lib/apt/lists/* wkhtmltox.deb