Contributors mailing list archives


Re: Run wkhtmltopdf under docker

Open for Small Business, Graeme Gellatly
- 13/04/2017 06:00:21

Let me start with the presumption that really your preference is not to dockerize wkhtmltopdf.  I too had similar trouble with stretch, which as its about to become stable I guess Odoo is about to have same problem.

wkhtmltopdf 0.12.5 looks promising however is not here yet.  I am having good results with 0.12.4 however in order to get sizing the same as 0.12.1 need to add --disable-smart-shrinking to the commandline.  It does however resolve the dpi issues on Linux of 12.3 and 12.2.  (Mac still broken, windows idk)

My thoughts are just to write a simple bash script called wkhtmltopdf which takes the arguments, adds the missing option and passes to wkhtmltopdf-bin (renamed binary).

On Wed, Apr 12, 2017 at 7:53 PM, Jordi Ballester Alomar <> wrote:
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.

Post to: