Container base on eclipse-temurin:17-jre-jammy container.
- PLANTUML_VERSION: snapshot (23 mars 2023)
docker pull plantuml/plantuml-cli:latest
cd MY_DIRECTORY
# replace your_diagram_file.puml with the file name of your diagram.
docker run --rm -it \
--volume "$PWD":/wd \
--workdir /wd \
plantuml/plantuml-cli:latest your_diagram_file.puml
💡 Tips: you can use a wrapper like this Bash script wrapper.
Enjoy 🥳
gh repo clone plantuml/docker
cd docker/plantuml-cli
-
Build the container
make build
-
Run tests to validate that the container is working as expected
make test
You can use make enter
to run a bash shell inside the container.