Skip to content

ToshY/docker-qpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📃️ docker-qpdf

📝 Quickstart

docker run -it --rm \
  -v $(pwd)/files:/pdf 
  ghcr.io/toshy/docker-qpdf:latest --help

Note

Make sure to mount to the /pdf directory on the container.

📚 Examples

Merge PDFs using wildcard character *.

docker run -it --rm -v $(pwd)/files:/pdf --entrypoint /bin/sh ghcr.io/toshy/docker-qpdf:latest -c 'qpdf --empty --pages *.pdf -- result.pdf'

Note: Entrypoint is changed to /bin/sh and supplying command with -c, as wildcard character * is interpreted by shell.

🧰 Build

Build docker image from docker-bake.hcl with the APPLICATION_VERSION argument the desired QPDF version.

docker buildx bake --set *.args.APPLICATION_VERSION=12.2.0

The built image will be available with the default tag docker-qpdf:local.

❕ License

This repository comes with a MIT license.

About

Docker image for QPDF

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •