Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1008 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 1008 Bytes

PlantUML native image with GraalVM

PlantUML is a tool for visualizing documentation.

It is sometimes convenient to have a tool available as a simple Linux binary executable file, rather than a Java application, requiring a separate JDK installation. One specific use case for this is continuous integration (CI).

This project uses GraalVM to generate and distribute this binary.

The predecessor project, which had required its developer to shed quite a bit of blood, sweat and tears, is https://github.com/vektory79/plantuml-native-image.

This project starts from scratch, since over the intervening two years, GraalVM has advanced significantly, requiring quite a bit less custom work for each application.

Usage

./run.sh
./out/plantuml-1.2022.6-glibc-x86_64 -headless -help

PLANTUML_VERSION=1.2022.5 ./run.sh
./out/plantuml-1.2022.5-glibc-x86_64 -headless -help

Running the binary on Alpine

apk add gcompat libstdc++ fontconfig ttf-dejavu ttf-liberation graphviz