Alpine Wkhtmltopdf Docker Container
wkhtmltopdf with qt patches
yes, Alpine does have a wkhtmltopdf package... but it doesn't include the qt patches ... enjoy!
# i do it myself docker build -t alpine-wkhtmltopdf . docker run alpine-wkhtmltopdf google.com - > test.pdf # i'm lazy docker run madnight/docker-alpine-wkhtmltopdf google.com - > test.pdf
Is it really the smallest html to pdf docker image on the planet?
Hi, in Dockerfile there are two missing dependancies, required by wkhtmltopdf binary:
If not there,
wkhtmltopdf throws error:
Error loading shared library libssl.so.1.0.0: No such file or directory (needed by /usr/bin/wkhtmltopdf)
Error loading shared library libcrypto.so.1.0.0: No such file or directory (needed by /usr/bin/wkhtmltopdf)