Dockerfiles for building Docker images with Prince installed.
Images are available with the following tags (multiple tags on the same line indicate the same image):
yeslogic/prince:latestyeslogic/prince:16yeslogic/prince:16-debian-12-slimyeslogic/prince:16-debian-11-slimyeslogic/prince:16-debian-12yeslogic/prince:16-debian-11
Example:
docker run --rm -it -v $(pwd):/out yeslogic/prince:16 https://example.com/ -o /out/example.pdfBy 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.
make
make debian-12
make debian-12-slim BUILD_PLATFORMS=linux/amd64
debian-11debian-12debian-11-slimdebian-12-slim
Push images to Docker Hub:
make dockerhub
Then update the README on Docker Hub.