updated docu

This commit is contained in:
lukas 2021-03-19 13:36:54 +01:00
parent 52db212c5a
commit 11b85dd826

View file

@ -5,10 +5,20 @@ curl -LO https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0
tar -xzf graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
# install native-image in graalvm-ce-java11-linux-amd64-21.0.0.2/bin
```
# ./gu is inside the /bin folder
./gu install native-image
# after you installed native-image, there should appere a ./native-image file
```
# deps
sudo apt-get install build-essential libz-dev zlib1g-dev
# build image. e.g.
./bin/native-image -jar ~/repo/dda/k8s-mastodon-bot/target/uberjar/k8s-mastodon-bot-0.1.3-SNAPSHOT.jar ~/repo/dda/k8s-mastodon-bot/target/bot
# execute
```
cd ~/repo/dda/k8s-mastodon-bot/target/bot
./bot
```