Skip to content

REL-3640 SonarQube Server 2025 Release 2 #18697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jCOTINEAU
Copy link
Contributor

No description provided.

@jCOTINEAU jCOTINEAU requested a review from a team as a code owner March 24, 2025 15:46

This comment has been minimized.

@yosifkit
Copy link
Member

The new 2025 release 2 images compared to the 2025.1.1 images are swapping to an older JDK, is that expected?

-FROM eclipse-temurin:21-jre-noble
+FROM eclipse-temurin:17-jre-noble

Copy link

Diff for 0edd9e4:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 0dbcd58..1858c3c 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1,7 +1,7 @@
 Maintainers: Carmine Vassallo <carmine.vassallo@sonarsource.com> (@carminevassallo), Jeremy Cotineau <jeremy.cotineau@sonarsource.com> (@jCOTINEAU), Davi Koscianski Vidal <davi.koscianski-vidal@sonarsource.com> (@davividal)
 Architectures: amd64, arm64v8
 GitRepo: https://github.com/SonarSource/docker-sonarqube.git
-GitCommit: 500fa5278eef556c2404f51191e3d4b1b93ddbce
+GitCommit: 9cd70bb82de537ad9f70539a5c2539cfe3fb9641
 Builder: buildkit
 
 Tags: 9.9.8-community, 9.9-community, 9-community, lts, lts-community
@@ -23,14 +23,26 @@ Tags: 25.3.0.104237-community, community, latest
 GitCommit: 65d32aee3047ae2d7bff433d278b5e1622134a37
 Directory: community-build
 
-Tags: 2025.1.1-datacenter-app, 2025.1-datacenter-app, 2025-lta-datacenter-app, datacenter-app
+Tags: 2025.1.1-datacenter-app, 2025.1-datacenter-app, 2025-lta-datacenter-app
 Directory: 2025.1/datacenter/app
 
-Tags: 2025.1.1-datacenter-search, 2025.1-datacenter-search, 2025-lta-datacenter-search, datacenter-search
+Tags: 2025.1.1-datacenter-search, 2025.1-datacenter-search, 2025-lta-datacenter-search
 Directory: 2025.1/datacenter/search
 
-Tags: 2025.1.1-developer, 2025.1-developer, 2025-lta-developer, developer
+Tags: 2025.1.1-developer, 2025.1-developer, 2025-lta-developer
 Directory: 2025.1/developer
 
-Tags: 2025.1.1-enterprise, 2025.1-enterprise, 2025-lta-enterprise, enterprise
+Tags: 2025.1.1-enterprise, 2025.1-enterprise, 2025-lta-enterprise
 Directory: 2025.1/enterprise
+
+Tags: 2025.2.0-datacenter-app, 2025.2-datacenter-app, datacenter-app
+Directory: 2025/datacenter/app
+
+Tags: 2025.2.0-datacenter-search, 2025.2-datacenter-search, datacenter-search
+Directory: 2025/datacenter/search
+
+Tags: 2025.2.0-developer, 2025.2-developer, developer
+Directory: 2025/developer
+
+Tags: 2025.2.0-enterprise, 2025.2-enterprise, enterprise
+Directory: 2025/enterprise
diff --git a/_bashbrew-list b/_bashbrew-list
index efae73f..0fe0200 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -26,6 +26,14 @@ sonarqube:2025.1.1-datacenter-app
 sonarqube:2025.1.1-datacenter-search
 sonarqube:2025.1.1-developer
 sonarqube:2025.1.1-enterprise
+sonarqube:2025.2-datacenter-app
+sonarqube:2025.2-datacenter-search
+sonarqube:2025.2-developer
+sonarqube:2025.2-enterprise
+sonarqube:2025.2.0-datacenter-app
+sonarqube:2025.2.0-datacenter-search
+sonarqube:2025.2.0-developer
+sonarqube:2025.2.0-enterprise
 sonarqube:community
 sonarqube:datacenter-app
 sonarqube:datacenter-search
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index 61aeb70..40f5a30 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -1,3 +1,7 @@
+sonarqube:2025-lta-datacenter-app
+sonarqube:2025-lta-datacenter-search
+sonarqube:2025-lta-developer
+sonarqube:2025-lta-enterprise
 sonarqube:datacenter-app
 sonarqube:datacenter-search
 sonarqube:developer
diff --git a/sonarqube_datacenter-app/Dockerfile b/sonarqube_2025-lta-datacenter-app/Dockerfile
similarity index 100%
copy from sonarqube_datacenter-app/Dockerfile
copy to sonarqube_2025-lta-datacenter-app/Dockerfile
diff --git a/sonarqube_datacenter-app/run.sh b/sonarqube_2025-lta-datacenter-app/run.sh
similarity index 100%
copy from sonarqube_datacenter-app/run.sh
copy to sonarqube_2025-lta-datacenter-app/run.sh
diff --git a/sonarqube_datacenter-app/sonar.sh b/sonarqube_2025-lta-datacenter-app/sonar.sh
similarity index 100%
copy from sonarqube_datacenter-app/sonar.sh
copy to sonarqube_2025-lta-datacenter-app/sonar.sh
diff --git a/sonarqube_datacenter-search/Dockerfile b/sonarqube_2025-lta-datacenter-search/Dockerfile
similarity index 100%
copy from sonarqube_datacenter-search/Dockerfile
copy to sonarqube_2025-lta-datacenter-search/Dockerfile
diff --git a/sonarqube_datacenter-search/run.sh b/sonarqube_2025-lta-datacenter-search/run.sh
similarity index 100%
copy from sonarqube_datacenter-search/run.sh
copy to sonarqube_2025-lta-datacenter-search/run.sh
diff --git a/sonarqube_datacenter-app/sonar.sh b/sonarqube_2025-lta-datacenter-search/sonar.sh
similarity index 100%
copy from sonarqube_datacenter-app/sonar.sh
copy to sonarqube_2025-lta-datacenter-search/sonar.sh
diff --git a/sonarqube_developer/Dockerfile b/sonarqube_2025-lta-developer/Dockerfile
similarity index 100%
copy from sonarqube_developer/Dockerfile
copy to sonarqube_2025-lta-developer/Dockerfile
diff --git a/sonarqube_developer/entrypoint.sh b/sonarqube_2025-lta-developer/entrypoint.sh
similarity index 100%
copy from sonarqube_developer/entrypoint.sh
copy to sonarqube_2025-lta-developer/entrypoint.sh
diff --git a/sonarqube_enterprise/Dockerfile b/sonarqube_2025-lta-enterprise/Dockerfile
similarity index 100%
copy from sonarqube_enterprise/Dockerfile
copy to sonarqube_2025-lta-enterprise/Dockerfile
diff --git a/sonarqube_developer/entrypoint.sh b/sonarqube_2025-lta-enterprise/entrypoint.sh
similarity index 100%
copy from sonarqube_developer/entrypoint.sh
copy to sonarqube_2025-lta-enterprise/entrypoint.sh
diff --git a/sonarqube_datacenter-app/Dockerfile b/sonarqube_datacenter-app/Dockerfile
index 8965d7e..92a0c21 100644
--- a/sonarqube_datacenter-app/Dockerfile
+++ b/sonarqube_datacenter-app/Dockerfile
@@ -14,7 +14,7 @@ ENV LANG='en_US.UTF-8' \
 #
 # SonarQube setup
 #
-ARG SONARQUBE_VERSION=2025.1.1.104738
+ARG SONARQUBE_VERSION=2025.2.0.105312
 ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-${SONARQUBE_VERSION}.zip
 ENV DOCKER_RUNNING="true" \
     JAVA_HOME='/opt/java/openjdk' \
@@ -58,6 +58,8 @@ RUN set -eux; \
     rm sonarqube.zip*; \
     rm -rf ${SONARQUBE_HOME}/bin/*; \
     ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar"; \
+    chown -R sonarqube:root ${SONARQUBE_HOME}; \
+    chown -R sonarqube:root "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     chmod -R 550 ${SONARQUBE_HOME}; \
     chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     apt-get remove -y gnupg unzip; \
@@ -65,7 +67,7 @@ RUN set -eux; \
 
 VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]
 
-COPY run.sh sonar.sh ${SONARQUBE_HOME}/docker/
+COPY --chown=root:root --chmod=555 run.sh sonar.sh ${SONARQUBE_HOME}/docker/
 
 WORKDIR ${SONARQUBE_HOME}
 EXPOSE 9000
diff --git a/sonarqube_datacenter-search/Dockerfile b/sonarqube_datacenter-search/Dockerfile
index 2acea24..6a6f0cc 100644
--- a/sonarqube_datacenter-search/Dockerfile
+++ b/sonarqube_datacenter-search/Dockerfile
@@ -14,7 +14,7 @@ ENV LANG='en_US.UTF-8' \
 #
 # SonarQube setup
 #
-ARG SONARQUBE_VERSION=2025.1.1.104738
+ARG SONARQUBE_VERSION=2025.2.0.105312
 ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-datacenter/sonarqube-datacenter-${SONARQUBE_VERSION}.zip
 ENV DOCKER_RUNNING="true" \
     JAVA_HOME='/opt/java/openjdk' \
@@ -61,6 +61,8 @@ RUN set -eux; \
     rm sonarqube.zip*; \
     rm -rf ${SONARQUBE_HOME}/bin/*; \
     ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar"; \
+    chown -R sonarqube:root ${SONARQUBE_HOME}; \
+    chown -R sonarqube:root "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     chmod -R 550 ${SONARQUBE_HOME}; \
     chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     apt-get remove -y gnupg unzip curl; \
@@ -68,7 +70,7 @@ RUN set -eux; \
 
 VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]
 
-COPY run.sh sonar.sh ${SONARQUBE_HOME}/docker/
+COPY --chown=root:root --chmod=555 run.sh sonar.sh ${SONARQUBE_HOME}/docker/
 
 WORKDIR ${SONARQUBE_HOME}
 EXPOSE 9000
diff --git a/sonarqube_developer/Dockerfile b/sonarqube_developer/Dockerfile
index 5790e2a..eaec42a 100644
--- a/sonarqube_developer/Dockerfile
+++ b/sonarqube_developer/Dockerfile
@@ -14,7 +14,7 @@ ENV LANG='en_US.UTF-8' \
 #
 # SonarQube setup
 #
-ARG SONARQUBE_VERSION=2025.1.1.104738
+ARG SONARQUBE_VERSION=2025.2.0.105312
 ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-developer/sonarqube-developer-${SONARQUBE_VERSION}.zip
 ENV DOCKER_RUNNING="true" \
     JAVA_HOME='/opt/java/openjdk' \
@@ -58,6 +58,8 @@ RUN set -eux; \
     rm sonarqube.zip*; \
     rm -rf ${SONARQUBE_HOME}/bin/*; \
     ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar"; \
+    chown -R sonarqube:root ${SONARQUBE_HOME}; \
+    chown -R sonarqube:root "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     chmod -R 550 ${SONARQUBE_HOME}; \
     chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     apt-get remove -y gnupg unzip; \
@@ -65,7 +67,7 @@ RUN set -eux; \
 
 VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]
 
-COPY entrypoint.sh ${SONARQUBE_HOME}/docker/
+COPY --chown=root:root --chmod=555 entrypoint.sh ${SONARQUBE_HOME}/docker/
 
 WORKDIR ${SONARQUBE_HOME}
 EXPOSE 9000
diff --git a/sonarqube_enterprise/Dockerfile b/sonarqube_enterprise/Dockerfile
index 76ed1fa..5d3f258 100644
--- a/sonarqube_enterprise/Dockerfile
+++ b/sonarqube_enterprise/Dockerfile
@@ -14,7 +14,7 @@ ENV LANG='en_US.UTF-8' \
 #
 # SonarQube setup
 #
-ARG SONARQUBE_VERSION=2025.1.1.104738
+ARG SONARQUBE_VERSION=2025.2.0.105312
 ARG SONARQUBE_ZIP_URL=https://binaries.sonarsource.com/CommercialDistribution/sonarqube-enterprise/sonarqube-enterprise-${SONARQUBE_VERSION}.zip
 ENV DOCKER_RUNNING="true" \
     JAVA_HOME='/opt/java/openjdk' \
@@ -58,6 +58,8 @@ RUN set -eux; \
     rm sonarqube.zip*; \
     rm -rf ${SONARQUBE_HOME}/bin/*; \
     ln -s "${SONARQUBE_HOME}/lib/sonar-application-${SONARQUBE_VERSION}.jar" "${SONARQUBE_HOME}/lib/sonarqube.jar"; \
+    chown -R sonarqube:root ${SONARQUBE_HOME}; \
+    chown -R sonarqube:root "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     chmod -R 550 ${SONARQUBE_HOME}; \
     chmod -R 770 "${SQ_DATA_DIR}" "${SQ_EXTENSIONS_DIR}" "${SQ_LOGS_DIR}" "${SQ_TEMP_DIR}"; \
     apt-get remove -y gnupg unzip; \
@@ -65,7 +67,7 @@ RUN set -eux; \
 
 VOLUME ["${SQ_DATA_DIR}", "${SQ_EXTENSIONS_DIR}", "${SQ_LOGS_DIR}", "${SQ_TEMP_DIR}"]
 
-COPY entrypoint.sh ${SONARQUBE_HOME}/docker/
+COPY --chown=root:root --chmod=555 entrypoint.sh ${SONARQUBE_HOME}/docker/
 
 WORKDIR ${SONARQUBE_HOME}
 EXPOSE 9000

Relevant Maintainers:

@jCOTINEAU
Copy link
Contributor Author

jCOTINEAU commented Mar 25, 2025

The new 2025 release 2 images compared to the 2025.1.1 images are swapping to an older JDK, is that expected?

-FROM eclipse-temurin:21-jre-noble
+FROM eclipse-temurin:17-jre-noble

Indeed it was not meant, updating PR accordingly, i see the 25.3 images are failing, taking a look.

We would actually like to thank you a lot for the very sharp reviews as usual.

edit: internal incident occurred, i am closing the PR for now.

Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants