Sign inSign up

bandaangosta/pdftk

By bandaangosta

•Updated over 7 years ago

pdftk in docker

Image
0

209

bandaangosta/pdftk repository overview

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.

Tag summary

Content type

Image

Digest

Size

29.7 MB

Last updated

over 7 years ago

docker pull bandaangosta/pdftk