diff --git a/odoo/flectra/Dockerfile b/odoo/flectra/Dockerfile index 057a32b..d2264ea 100644 --- a/odoo/flectra/Dockerfile +++ b/odoo/flectra/Dockerfile @@ -19,12 +19,10 @@ RUN apt-get update \ RUN ln -s /usr/bin/nodejs /usr/bin/node # WKHTMLTOPDF and fonts -RUN curl -o wkhtmltox.tar.xz -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \ - && echo '3f923f425d345940089e44c1466f6408b9619562 wkhtmltox.tar.xz' | sha1sum -c - \ - && tar xvf wkhtmltox.tar.xz \ - && cp wkhtmltox/lib/* /usr/local/lib/ \ - && cp wkhtmltox/bin/* /usr/local/bin/ \ - && cp -r wkhtmltox/share/man/man1 /usr/local/share/man/ +RUN curl -o wkhtmltox.deb -SL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.stretch_amd64.deb \ + && echo '7e35a63f9db14f93ec7feeb0fce76b30c08f2057 wkhtmltox.deb' | sha1sum -c \ + && dpkg --force-depends -i wkhtmltox.deb \ + && apt-get -y --fix-broken install # Packages cleanup RUN apt-get purge -y --auto-remove \