Lightweight pdftk in docker, based on Alpine Linux.
Credits to https://github.com/jottr/alpine-pdftk
To run:
docker run --rm -u $(id -u):$(id -g) -v "${PWD}":/files bandaangosta/pdftk:latest
For convenience, after cloning this repository, you can link the pdftk script to a folder in your PATH:
sudo ln -s /home/bandaangosta/dev/alpine-pdftk/pdftk /usr/local/bin/pdftk
From then on, you can run pdftk as usual.
Adds -u option allows for created file(s) to belong to current user instead of root.
Content type
Image
Digest
Size
29.7 MB
Last updated
over 7 years ago
docker pull bandaangosta/pdftk