An open API service indexing awesome lists of open source software.

https://github.com/mikaelhg/puni2

PlantUML native image with GraalVM
https://github.com/mikaelhg/puni2

graalvm native-image plantuml

Last synced: 5 months ago
JSON representation

PlantUML native image with GraalVM

Awesome Lists containing this project

README

          

# 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.

## NOTICE!

This repository will likely not be updated in the future, due to the
official PlantUML repository having gained GraalVM native-image CI/CD
pipeline scripts, and the maintainer having switched to
[d2](https://d2lang.com/) and [Mermaid](https://mermaid.js.org/).

## Usage

```bash
./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

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