An open API service indexing awesome lists of open source software.

https://github.com/yeslogic/docker-prince

Dockerfiles for building Docker images with Prince installed
https://github.com/yeslogic/docker-prince

docker htmltopdf prince

Last synced: 6 months ago
JSON representation

Dockerfiles for building Docker images with Prince installed

Awesome Lists containing this project

README

        

# 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:15.4.1` `yeslogic/prince:15.4.1-debian-12-slim`
* `yeslogic/prince:15.4.1-debian-11-slim`
* `yeslogic/prince:15.4.1-debian-10-slim`
* `yeslogic/prince:15.4.1-debian-12`
* `yeslogic/prince:15.4.1-debian-11`
* `yeslogic/prince:15.4.1-debian-10`

Example:

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

## Building

Build all:

make

Build a specific image:

make debian-12

Available targets:

* `debian-10`
* `debian-11`
* `debian-12`
* `debian-10-slim`
* `debian-11-slim`
* `debian-12-slim`

## Publishing

Push images to Docker Hub:

make dockerhub

Then update the README on Docker Hub.

[Prince]: https://www.princexml.com/