fix GraalVM Doc

This commit is contained in:
az 2021-03-19 12:14:50 +01:00
parent ca25f99312
commit 15e5f32dbc
2 changed files with 11 additions and 11 deletions

BIN
.lsp/sqlite.db Normal file

Binary file not shown.

View file

@ -1,14 +1,14 @@
# stable release (should be done from master)
# 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
```
#adjust [version]
vi package.json
# unpack
tar -xzf graalvm-ce-java11-linux-amd64-21.0.0.2.tar.gz
lein release
git push --follow-tags
# install native-image in graalvm-ce-java11-linux-amd64-21.0.0.2/bin
./gu install native-image
# bump version - increase version and add -SNAPSHOT
vi package.json
git commit -am "version bump"
git push
```
# 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