Update install/sonarqube-install.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 00:35:39 +02:00 committed by GitHub
parent 81e0af933a
commit d845799c05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,11 +12,7 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y openjdk-17-jdk curl unzip
msg_ok "Installed Dependencies"
RELEASE=$(curl -s https://api.github.com/repos/SonarSource/sonarqube/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
JAVA_VERSION=21 setup_java
PG_VERSION="17" setup_postgresql
msg_info "Installing Postgresql"