Public | Automated Build

Last pushed: 3 months ago
Short Description
docker-alpine-wkhtmltopdf
Full Description

Alpine Wkhtmltopdf Docker Container


Usage

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

Q&A

Is it really the smallest html to pdf docker image on the planet?

Yes.

Docker Pull Command
Owner
madnight

Comments (1)
mulcek
a year ago

Hi, in Dockerfile there are two missing dependancies, required by wkhtmltopdf binary:

libcrypto1.0
libssl1.0

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)