Skip to content
wkhtmltopdf alpine docker container with headless qt patches
Branch: master
Clone or download
Pull request Compare This branch is 19 commits ahead of alloylab:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml update travis Jul 24, 2016
Dockerfile upgrade from alpine 3.5 to 3.8 Jul 27, 2018
LICENSE Create LICENSE Jul 27, 2018
README.md add mount usage description to README.md Nov 6, 2018
wkhtmltopdf add wkhtmltopdf binary Jul 24, 2016

README.md

Alpine Wkhtmltopdf Docker Container

License: MIT

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

# or mount a local file (e.g. test.html)
docker run --rm -v $(pwd):/data madnight/docker-alpine-wkhtmltopdf /data/test.html - > test.pdf

Q&A

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

Yes.

You can’t perform that action at this time.