Skip to content

maciejskorski/plantuml-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License build tests Docker docker size

Summary

This repo demonstrates a lightweight docker able to run the popular Java diagramming tool plantuml.

How to use

  • Build the image locally or pull it from DockerHub, then run then container
  • Copy the input plantuml diagram from the host to the running container, using the command docker cp. This should look like docker cp src/diagram.iuml 3689309baac3:/usr/local where 3689309baac3 is the container ID.
  • Inside the container, run plantuml diagram.iuml to generate the output figure diagram.png
  • Copy the output figure from the container to the host, e.g. docker cp 3689309baac3:/usr/local/diagram.png .

Architecture

The docker builds on top of a tiny Alpine Linux Image and provides a minimalistic Java Runtime Environment tailored to running the plantuml tool.

Plantuml Docker Architecture