streamingriver / plantuml-docker

A full-fledged plantuml docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlantUML meets Docker

Docker Cloud Automated build Docker Cloud Build Status Docker Image Size Docker Pulls Docker Image Version (latest semver)

This docker container holds a full-fledged plantuml distribution with PDF-export support included.

This image works great for exporting plantuml diagrams without installing java, graphviz and other dependencies, making it the perfect fit for running plantuml within your CI pipeline.

Usage

The container's entrypoint command runs plantuml with stdin/stdout piping enabled:

java -jar plantuml.jar -p

When run without any more arguments, the docker image will output the diagram as svg:

cat diagram.puml | docker run --rm -i aplr/plantuml > diagram.svg

If you want to output the diagram as PDF, you have to set the output type to -tpdf:

cat diagram.puml | docker run --rm -i aplr/plantuml -tpdf > diagram.pdf

About

A full-fledged plantuml docker container

License:MIT License


Languages

Language:Dockerfile 100.0%