diff --git a/bitnami/sonarqube/25/debian-12/Dockerfile b/bitnami/sonarqube/25/debian-12/Dockerfile index f642cfbe9d34..32290eb98dfa 100644 --- a/bitnami/sonarqube/25/debian-12/Dockerfile +++ b/bitnami/sonarqube/25/debian-12/Dockerfile @@ -8,7 +8,7 @@ ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-10-03T15:04:49Z" \ + org.opencontainers.image.created="2025-10-09T07:53:45Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/sonarqube/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/sonarqube" \ @@ -52,7 +52,7 @@ RUN /opt/bitnami/scripts/java/postunpack.sh RUN /opt/bitnami/scripts/sonarqube/postunpack.sh ENV APP_VERSION="25.10.0" \ BITNAMI_APP_NAME="sonarqube" \ - IMAGE_REVISION="0" \ + IMAGE_REVISION="1" \ JAVA_HOME="/opt/bitnami/java" \ PATH="/opt/bitnami/postgresql/bin:/opt/bitnami/java/bin:$PATH" diff --git a/bitnami/sonarqube/25/debian-12/rootfs/opt/bitnami/scripts/sonarqube-env.sh b/bitnami/sonarqube/25/debian-12/rootfs/opt/bitnami/scripts/sonarqube-env.sh index a50acf78b640..e0a69da30d99 100644 --- a/bitnami/sonarqube/25/debian-12/rootfs/opt/bitnami/scripts/sonarqube-env.sh +++ b/bitnami/sonarqube/25/debian-12/rootfs/opt/bitnami/scripts/sonarqube-env.sh @@ -33,9 +33,7 @@ sonarqube_env_vars=( SONARQUBE_WEB_CONTEXT SONARQUBE_MAX_HEAP_SIZE SONARQUBE_MIN_HEAP_SIZE - SONARQUBE_CE_JAVA_ADD_OPTS SONARQUBE_ELASTICSEARCH_JAVA_ADD_OPTS - SONARQUBE_WEB_JAVA_ADD_OPTS SONARQUBE_EXTRA_PROPERTIES SONARQUBE_USERNAME SONARQUBE_PASSWORD @@ -109,9 +107,9 @@ export SONARQUBE_SKIP_BOOTSTRAP="${SONARQUBE_SKIP_BOOTSTRAP:-no}" # only used du export SONARQUBE_WEB_CONTEXT="${SONARQUBE_WEB_CONTEXT:-/}" export SONARQUBE_MAX_HEAP_SIZE="${SONARQUBE_MAX_HEAP_SIZE:-}" export SONARQUBE_MIN_HEAP_SIZE="${SONARQUBE_MIN_HEAP_SIZE:-}" -export SONARQUBE_CE_JAVA_ADD_OPTS="${SONARQUBE_CE_JAVA_ADD_OPTS:-}" +export SONARQUBE_CE_JAVA_ADD_OPTS="${SONARQUBE_CE_JAVA_ADD_OPTS:-} ${JAVA_TOOL_OPTIONS:-}" export SONARQUBE_ELASTICSEARCH_JAVA_ADD_OPTS="${SONARQUBE_ELASTICSEARCH_JAVA_ADD_OPTS:-}" -export SONARQUBE_WEB_JAVA_ADD_OPTS="${SONARQUBE_WEB_JAVA_ADD_OPTS:-}" +export SONARQUBE_WEB_JAVA_ADD_OPTS="${SONARQUBE_WEB_JAVA_ADD_OPTS:-} ${JAVA_TOOL_OPTIONS:-}" SONARQUBE_EXTRA_PROPERTIES="${SONARQUBE_EXTRA_PROPERTIES:-"${SONARQUBE_PROPERTIES:-}"}" export SONARQUBE_EXTRA_PROPERTIES="${SONARQUBE_EXTRA_PROPERTIES:-}" diff --git a/bitnami/sonarqube/README.md b/bitnami/sonarqube/README.md index 79ef1a474f9e..ef564e0c9e5e 100644 --- a/bitnami/sonarqube/README.md +++ b/bitnami/sonarqube/README.md @@ -213,9 +213,7 @@ docker run -d --name sonarqube \ | `SONARQUBE_WEB_CONTEXT` | SonarQube prefix used to access to the application. | `/` | | `SONARQUBE_MAX_HEAP_SIZE` | Maximum heap size for SonarQube services (CE, Search and Web). | `nil` | | `SONARQUBE_MIN_HEAP_SIZE` | Minimum heap size for SonarQube services (CE, Search and Web). | `nil` | -| `SONARQUBE_CE_JAVA_ADD_OPTS` | Additional Java options for Compute Engine. | `nil` | | `SONARQUBE_ELASTICSEARCH_JAVA_ADD_OPTS` | Additional Java options for Elasticsearch. | `nil` | -| `SONARQUBE_WEB_JAVA_ADD_OPTS` | Additional Java options for Web. | `nil` | | `SONARQUBE_EXTRA_PROPERTIES` | Comma separated list of properties to be set in the sonar.properties file, e.g. `my.sonar.property1=property_value,my.sonar.property2=property_value`. | `nil` | | `SONARQUBE_USERNAME` | SonarQube user name. | `admin` | | `SONARQUBE_PASSWORD` | SonarQube user password. | `bitnami` | @@ -233,24 +231,26 @@ docker run -d --name sonarqube \ #### Read-only environment variables -| Name | Description | Value | -|-----------------------------------|------------------------------------------------------|--------------------------------------------| -| `SONARQUBE_BASE_DIR` | SonarQube installation directory. | `${BITNAMI_ROOT_DIR}/sonarqube` | -| `SONARQUBE_DATA_DIR` | Directory for SonarQube data files. | `${SONARQUBE_BASE_DIR}/data` | -| `SONARQUBE_EXTENSIONS_DIR` | Directory for SonarQube extensions. | `${SONARQUBE_BASE_DIR}/extensions` | -| `SONARQUBE_CONF_DIR` | Directory for SonarQube configuration files. | `${SONARQUBE_BASE_DIR}/conf` | -| `SONARQUBE_CONF_FILE` | Configuration file for SonarQube. | `${SONARQUBE_CONF_DIR}/sonar.properties` | -| `SONARQUBE_LOGS_DIR` | Directory for SonarQube log files. | `${SONARQUBE_BASE_DIR}/logs` | -| `SONARQUBE_LOG_FILE` | SonarQube log file. | `${SONARQUBE_LOGS_DIR}/sonar.log` | -| `SONARQUBE_TMP_DIR` | Directory for SonarQube temporary files. | `${SONARQUBE_BASE_DIR}/temp` | -| `SONARQUBE_PID_FILE` | SonarQube PID file. | `${SONARQUBE_BASE_DIR}/pids/SonarQube.pid` | -| `SONARQUBE_BIN_DIR` | SonarQube directory for binary executables. | `${SONARQUBE_BASE_DIR}/bin/linux-x86-64` | -| `SONARQUBE_VOLUME_DIR` | SonarQube directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/sonarqube` | -| `SONARQUBE_DAEMON_USER` | SonarQube system user. | `sonarqube` | -| `SONARQUBE_DAEMON_USER_ID` | SonarQube system user ID. | `1001` | -| `SONARQUBE_DAEMON_GROUP` | SonarQube system group. | `sonarqube` | -| `SONARQUBE_DAEMON_GROUP_ID` | SonarQube system group. | `1001` | -| `SONARQUBE_DEFAULT_DATABASE_HOST` | Default database server host. | `postgresql` | +| Name | Description | Value | +|-----------------------------------|------------------------------------------------------|-----------------------------------------------------------| +| `SONARQUBE_BASE_DIR` | SonarQube installation directory. | `${BITNAMI_ROOT_DIR}/sonarqube` | +| `SONARQUBE_DATA_DIR` | Directory for SonarQube data files. | `${SONARQUBE_BASE_DIR}/data` | +| `SONARQUBE_EXTENSIONS_DIR` | Directory for SonarQube extensions. | `${SONARQUBE_BASE_DIR}/extensions` | +| `SONARQUBE_CONF_DIR` | Directory for SonarQube configuration files. | `${SONARQUBE_BASE_DIR}/conf` | +| `SONARQUBE_CONF_FILE` | Configuration file for SonarQube. | `${SONARQUBE_CONF_DIR}/sonar.properties` | +| `SONARQUBE_LOGS_DIR` | Directory for SonarQube log files. | `${SONARQUBE_BASE_DIR}/logs` | +| `SONARQUBE_LOG_FILE` | SonarQube log file. | `${SONARQUBE_LOGS_DIR}/sonar.log` | +| `SONARQUBE_TMP_DIR` | Directory for SonarQube temporary files. | `${SONARQUBE_BASE_DIR}/temp` | +| `SONARQUBE_PID_FILE` | SonarQube PID file. | `${SONARQUBE_BASE_DIR}/pids/SonarQube.pid` | +| `SONARQUBE_BIN_DIR` | SonarQube directory for binary executables. | `${SONARQUBE_BASE_DIR}/bin/linux-x86-64` | +| `SONARQUBE_VOLUME_DIR` | SonarQube directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/sonarqube` | +| `SONARQUBE_DAEMON_USER` | SonarQube system user. | `sonarqube` | +| `SONARQUBE_DAEMON_USER_ID` | SonarQube system user ID. | `1001` | +| `SONARQUBE_DAEMON_GROUP` | SonarQube system group. | `sonarqube` | +| `SONARQUBE_DAEMON_GROUP_ID` | SonarQube system group. | `1001` | +| `SONARQUBE_CE_JAVA_ADD_OPTS` | Additional Java options for Compute Engine. | `${SONARQUBE_CE_JAVA_ADD_OPTS:-} ${JAVA_TOOL_OPTIONS:-}` | +| `SONARQUBE_WEB_JAVA_ADD_OPTS` | Additional Java options for Web. | `${SONARQUBE_WEB_JAVA_ADD_OPTS:-} ${JAVA_TOOL_OPTIONS:-}` | +| `SONARQUBE_DEFAULT_DATABASE_HOST` | Default database server host. | `postgresql` | When you start the SonarQube™ image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable: