Skip to content

yeslogic/docker-prince

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-prince

Dockerfiles for building Docker images with Prince installed.

Using

Images are available with the following tags (multiple tags on the same line indicate the same image):

  • yeslogic/prince:latest yeslogic/prince:16 yeslogic/prince:16-debian-12-slim
  • yeslogic/prince:16-debian-11-slim
  • yeslogic/prince:16-debian-12
  • yeslogic/prince:16-debian-11

Example:

docker run --rm -it -v $(pwd):/out yeslogic/prince:16 https://example.com/ -o /out/example.pdf

Building

By default the Makefile will build a multi-platform image for amd64 and arm64. On systems using Docker Desktop, this should work automatically. On Linux hosts you need to have binfmt_misc set up to run foreign binaries with QEMU. On Arch Linux I did this by installing the qemu-user-static and qemu-user-static-binfmt packages.

Build all

make

Build a specific image

make debian-12

Build for a single platform

make debian-12-slim BUILD_PLATFORMS=linux/amd64

Available targets

  • debian-11
  • debian-12
  • debian-11-slim
  • debian-12-slim

Publishing

Push images to Docker Hub:

make dockerhub

Then update the README on Docker Hub.

About

Dockerfiles for building Docker images with Prince installed

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •