Running bulds on the 12.04 (Precise) image may give an error relating to ‘missing binary’ or run failures for either wkhtmltopdf
or wkhtmltoimage
. The version of wkhtmltopdf
that is preinstalled is 0.9.9 and is EOL.
A workaround is to add the following to circle.yml
:
dependencies:
pre:
- sudo add-apt-repository ppa:pov/wkhtmltopdf -y; sudo apt-get update; sudo apt-get install wkhtmltopdf
This will install version 0.12.1 and wkhtmltoimage
will then be available in addition to wkhtmltopdf
.