Contributors mailing list archives


Re: Run wkhtmltopdf under docker

Benoît Vézina
- 12/04/2017 13:34:16

If I understand you, you just want to dockerize wkhtmlpdf (a bit like py3o fusion

There is allready a wkhtmlpdf docker on docker hub ( or better

Then wkhtmltopdf can be call from curl or json

Dont know if it is easy to switch this on place of the original wkhtmltopdf

Le 2017-04-12 à 09:22, Jordi Ballester Alomar a écrit :
<blockquote cite="" type="cite">
Thanks. The idea is not (yet) to completely dockerize odoo. 

Instead, we want to independize the serivce provided by wkhtmltopdf 0.12.1 from the platform in which odoo runs.

As we all know, 0.12.1 is very old, but it is the only one that works for odoo.

I was thinking that you should be able to create a bash with the name 'wkhtmltopdf' and put it in /usr/local/bin.

When odoo calls 'wkhtmltopdf' it will invoke the bash script, which will call the docker to provide the service.

On Apr 12, 2017 2:23 PM, "Benoît Vézina" <> wrote:
Using docker all time for Odoo, did not get any issue just be sure to 
set report.url to

are you using the official Odoo docker or did you make you own.

Le 2017-04-12 à 03:53, Jordi Ballester Alomar a écrit :
> Hi! Has anyone attempted to run wkhtmltopdf under a docker container 
> (separate from odoo).
> We are struggling to install normal.wkhtmltopdf 0.12.1 in debian 
> stretch, and docker seems so much easier in principle.
> _______________________________________________
> Mailing-List:
> Post to:
> Unsubscribe:

_______________________________________________ Mailing-List: Post to: Unsubscribe: