[bitnami/sonarqube] Release 26.1.0-debian-12-r1 (#89346)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
parent
18146c02c8
commit
d8ec1f3daf
|
|
@ -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="2026-01-07T11:18:36Z" \
|
||||
org.opencontainers.image.created="2026-01-08T12:50:04Z" \
|
||||
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" \
|
||||
|
|
@ -30,7 +30,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
|||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"postgresql-client-18.1.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"jre-17.0.17-15-0-linux-${OS_ARCH}-debian-12" \
|
||||
"java-21.0.9-15-0-linux-${OS_ARCH}-debian-12" \
|
||||
"sonarqube-26.1.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
|
|
@ -52,7 +52,7 @@ RUN /opt/bitnami/scripts/java/postunpack.sh
|
|||
RUN /opt/bitnami/scripts/sonarqube/postunpack.sh
|
||||
ENV APP_VERSION="26.1.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"
|
||||
|
||||
|
|
|
|||
|
|
@ -211,8 +211,8 @@ EOF
|
|||
|
||||
# Check and move provisioned content from mounted provisioning directory to application directory
|
||||
if ! is_mounted_dir_empty "$SONARQUBE_MOUNTED_PROVISIONING_DIR"; then
|
||||
info "Found mounted provisioning directory"
|
||||
sonarqube_copy_mounted_config
|
||||
info "Found mounted provisioning directory"
|
||||
sonarqube_copy_mounted_config
|
||||
fi
|
||||
|
||||
# At this point it is safe to expose SonarQube publicly
|
||||
|
|
|
|||
|
|
@ -34,6 +34,6 @@ for dir in "$SONARQUBE_DATA_DIR" "$SONARQUBE_EXTENSIONS_DIR" "$SONARQUBE_LOGS_DI
|
|||
configure_permissions_ownership "$dir" -d "775" -f "664" -u "$SONARQUBE_DAEMON_USER" -g "root"
|
||||
done
|
||||
# The installation directory needs to be writable in order for persistence logic to work (i.e. deleting folders inside it)
|
||||
# The 'sonar.sh' file needs to be writable when running as a non-root user since it si going to be modified during initialization
|
||||
# The 'sonar.sh' file needs to be writable when running as a non-root user since it is going to be modified during initialization
|
||||
chmod g+w "$SONARQUBE_CONF_FILE" "$SONARQUBE_BASE_DIR"
|
||||
chmod o+rX -R "${SONARQUBE_BASE_DIR}/elasticsearch/config"
|
||||
|
|
|
|||
Loading…
Reference in New Issue