updated docu
This commit is contained in:
parent
52db212c5a
commit
11b85dd826
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue