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:latest
yeslogic/prince:15.1
yeslogic/prince:15.1-debian-11-slim
yeslogic/prince:15.1-debian-10-slim
yeslogic/prince:15.1-debian-9-slim
yeslogic/prince:15.1-debian-10
yeslogic/prince:15.1-debian-11
yeslogic/prince:15.1-debian-9
Example:
docker run --rm -it -v $(pwd):/out yeslogic/prince:15.1 https://example.com/ -o /out/example.pdf
Build all:
make
Build a specific image:
make debian-11
Available targets:
debian-9
debian-10
debian-11
debian-9-slim
debian-10-slim
debian-11-slim
docker buildx build -f Dockerfile.debian -t docker-prince --build-arg PRINCE_VERSION=15.1 --build-arg DEBIAN_VERSION=11 --build-arg BASE_IMAGE=11-slim .
Push images to Docker Hub:
make dockerhub
Then update the README on Docker Hub.