-
Notifications
You must be signed in to change notification settings - Fork 2.4k
REL-3640 SonarQube Server 2025 Release 2 #18708
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
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff for 52904c5:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 0dbcd58..442eda9 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: 2c5fde2923701623402dbec59369d4fa115f1adb
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..7f506ae 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.105476
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..63cb730 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.105476
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..88fe81c 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.105476
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..892486b 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.105476
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:
|
yosifkit
approved these changes
Mar 25, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up of #18697.
Small comment on why we added
chown
, mostly it is for being overly explicit with the different runtime use case like:This is not strictly required as the folders will most of the time be overridden with volume mounts, nonetheless some users are using the images in very specific setups and this will helps.