This is a service that provides PDF rendering backend for Extension:PDFCreator. It is based on the xhtmlrenderer
Java library.
Given you have this service running at http://localhost:8080
, you can configure the BlueSpice pdf like this:
$GLOBALS['wgPDFCreatorHtml2PdfServiceUrl'] = 'http://localhost:8080/Html2PDF/v1';
docker build -t bluespice/pdf:latest .
HINT: We align the image tags with the version of BlueSpice that it is compatible with.
Example:
docker tag bluespice/pdf:latest bluespice/pdf:5
docker tag bluespice/pdf:latest bluespice/pdf:5.0
docker tag bluespice/pdf:latest bluespice/pdf:5.0.1
Example:
docker push bluespice/pdf:latest
docker push bluespice/pdf:5
docker push bluespice/pdf:5.0
docker push bluespice/pdf:5.0.1
Install trivy
and run trivy image bluespice/pdf
to check for vulnerabilities.