wayd2001 / docker-alpine-wkhtmltopdf

wkhtmltopdf alpine docker container with headless qt patches

Home Page:https://beuke.org/docker-alpine-wkhtmltopdf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

wkhtmltopdf alpine docker container with headless qt patches

https://beuke.org/docker-alpine-wkhtmltopdf/

License:MIT License


Languages

Language:Dockerfile 100.0%