https://github.com/madnight/docker-alpine-wkhtmltopdf
wkhtmltopdf alpine docker container with headless qt patches
https://github.com/madnight/docker-alpine-wkhtmltopdf
alpine-image docker lightweight mit-license qt-patches small travis-build wkhtmltopdf
Last synced: 3 months ago
JSON representation
wkhtmltopdf alpine docker container with headless qt patches
- Host: GitHub
- URL: https://github.com/madnight/docker-alpine-wkhtmltopdf
- Owner: madnight
- License: mit
- Fork: true (thinkdevcode/Docker-Alpine-wkhtmltopdf)
- Created: 2016-07-23T22:33:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T19:21:35.000Z (almost 3 years ago)
- Last Synced: 2024-08-04T10:06:47.032Z (about 1 year ago)
- Topics: alpine-image, docker, lightweight, mit-license, qt-patches, small, travis-build, wkhtmltopdf
- Language: Dockerfile
- Homepage: https://beuke.org/docker-alpine-wkhtmltopdf/
- Size: 61.6 MB
- Stars: 155
- Watchers: 6
- Forks: 69
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alpine Wkhtmltopdf Docker Container
[](https://opensource.org/licenses/MIT)
![]()
[](https://microbadger.com/images/madnight/docker-alpine-wkhtmltopdf "Get your own image badge on microbadger.com")## 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.