Merge branch 'master' of gitlab.com:domaindrivenarchitecture/k8s-mastodon-bot
This commit is contained in:
commit
3f324a9fa6
1 changed files with 14 additions and 0 deletions
14
doc/GraalVM.md
Normal file
14
doc/GraalVM.md
Normal 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
|
Loading…
Reference in a new issue