update graal version

This commit is contained in:
Michael Jerger 2024-02-16 18:05:27 +01:00
parent 0dcb375e15
commit 5825bcbf47

View file

@ -10,7 +10,7 @@ function main() {
# download kubeconform & graalvm # download kubeconform & graalvm
kubeconform_version="0.6.4" kubeconform_version="0.6.4"
graalvm_jdk_version="17.0.9" graalvm_jdk_version="21.0.2"
curl -SsLo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v${kubeconform_version}/kubeconform-linux-amd64.tar.gz curl -SsLo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v${kubeconform_version}/kubeconform-linux-amd64.tar.gz
curl -SsLo /tmp/CHECKSUMS https://github.com/yannh/kubeconform/releases/download/v${kubeconform_version}/CHECKSUMS curl -SsLo /tmp/CHECKSUMS https://github.com/yannh/kubeconform/releases/download/v${kubeconform_version}/CHECKSUMS
@ -29,7 +29,6 @@ function main() {
ln -s /usr/lib/jvm/$dirname_graalvm /usr/lib/jvm/graalvm ln -s /usr/lib/jvm/$dirname_graalvm /usr/lib/jvm/graalvm
ln -s /usr/lib/jvm/graalvm/bin/gu /usr/local/bin ln -s /usr/lib/jvm/graalvm/bin/gu /usr/local/bin
update-alternatives --install /usr/bin/java java /usr/lib/jvm/graalvm/bin/java 2 update-alternatives --install /usr/bin/java java /usr/lib/jvm/graalvm/bin/java 2
gu install native-image
ln -s /usr/lib/jvm/graalvm/bin/native-image /usr/local/bin ln -s /usr/lib/jvm/graalvm/bin/native-image /usr/local/bin
#install pyb #install pyb