/plantuml-docker

A docker image with PlantUML.

Primary LanguageDockerfileMIT LicenseMIT

plantuml-docker

A docker image with PlantUML.

Build

Example:

PLANTUML_VERSION=1.2022.5
docker build --build-arg PLANTUML_VERSION=$PLANTUML_VERSION -t plantuml-docker:latest -t plantuml-docker:v$PLANTUML_VERSION .

Usage

Reference: https://plantuml.com/command-line

Examples:

# display help
docker run --rm plantuml-docker:latest -help

# process local file and generate outputs as non root user
docker run --rm -v "$(pwd):/data" -u "$(id -u):$(id -g)" plantuml-docker:latest -tpng /data/file.puml