Skip to content

streamingriver/plantuml-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dockerfile 100.0%