/docker_plantuml

docker container for plantuml

Primary LanguageShellMIT LicenseMIT

Docker pulls Latest Tag

this is a adaptation of @lindt Dockerfile to accept multiple files

docker_plantuml

Docker Container for PlantUML

Motivation

To use plantuml, it needs to be downloaded, java needs to be installed, graphviz needs to be installed, and these things need to be chained. This docker container does this for you. And allows you to pipe by default into plantuml, so it's neat for script usage.

Usage

cat test.uml | docker run --rm -i lucassabreu/plantuml > test.svg

The default will output svg. If png output is wanted, call it like this:

cat test.uml | docker run --rm -i lucassabreu/plantuml -p -tpng > test.png

You can also process multiple files at once using:

docker run --rm -i -v "$(pwd):/puml" lucassabreu/plantuml -tsvg -progress "/puml/*.puml"