Merge branch 'master' of gitlab.com:domaindrivenarchitecture/k8s-mastodon-bot

This commit is contained in:
Clemens Geibel 2021-03-19 12:41:54 +01:00
commit 3f324a9fa6

14
doc/GraalVM.md Normal file
View file

@ -0,0 +1,14 @@
# install graalvm
curl -LO https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0.2/graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
# unpack
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 install native-image
# 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