(Discontinued in favor of official images) Docker container with Alpine Linux, Java and PlantUML
10K+
DISCONTINUED: The PlantUML project has released official Docker images on GHCR and Docker Hub
Docker container with Alpine Linux, Java and PlantUML.
PlantUML is a Java program which generates UML diagrams from DSL-code.
Pull from the Docker Hub:
$ docker pull miy4/plantuml
Build from source:
$ git clone https://github.com/miy4/docker-plantuml.git
$ cd docker-plantuml
$ docker build -t miy4/plantuml .
$ docker run -v ${PWD}:/work -w /work --rm -t miy4/plantuml [PLANTUML OPTIONS and ARGUMENTS]
or
$ run-plantuml [PLANTUML OPTIONS and ARGUMENTS]
docker run and run-plantuml accept and pass a set of parameters to PlantUML CLI.
See docker run miy4/plantuml -h or run-plantuml -h output for more details.
You can explicitly set the UID and GID of artifacts using the environment variables PUML_UID and PUML_GID.
In the following run example, PlantUML generates sequence_diagram.png owned by the user with UID 1000 and GID 1000.
$ docker run -e PUML_UID=1000 -e PUML_GID=1000 -v ${PWD}:/work -w /work --rm -t miy4/plantuml -tpng sequence_diagram.uml
If you don't use PUML_UID and PUML_GID, PlantUML generates the files to have the same UID and GID as the owner of the working directory given by -w, --workdir.
$ run-plantuml -tpng -charset utf-8 sequence_diagram.uml
MIT
Content type
Image
Digest
sha256:a0be46701…
Size
89.2 MB
Last updated
about 4 years ago
docker pull miy4/plantuml