Skip to content

docker container for plantuml

License

Notifications You must be signed in to change notification settings

lucassabreu/docker_plantuml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

docker container for plantuml

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Shell 61.0%
  • Dockerfile 39.0%