From 4d8d81bd84d7e00c921daa405b485779b3d4b23e Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 27 Jan 2023 14:40:33 +0100 Subject: [PATCH] [bitnami/sonarqube] Release 9.8.0-debian-11-r15 (#21898) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- bitnami/sonarqube/9/debian-11/Dockerfile | 3 ++- .../9/debian-11/rootfs/opt/bitnami/scripts/libsonarqube.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bitnami/sonarqube/9/debian-11/Dockerfile b/bitnami/sonarqube/9/debian-11/Dockerfile index 1627135508b8..3f479527ee61 100644 --- a/bitnami/sonarqube/9/debian-11/Dockerfile +++ b/bitnami/sonarqube/9/debian-11/Dockerfile @@ -6,7 +6,7 @@ ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="9.8.0-debian-11-r14" \ + org.opencontainers.image.ref.name="9.8.0-debian-11-r15" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/sonarqube" \ org.opencontainers.image.title="sonarqube" \ org.opencontainers.image.vendor="VMware, Inc." \ @@ -47,6 +47,7 @@ RUN /opt/bitnami/scripts/sonarqube/postunpack.sh ENV APP_VERSION="9.8.0" \ BITNAMI_APP_NAME="sonarqube" \ JAVA_HOME="/opt/bitnami/java" \ + LD_LIBRARY_PATH="/opt/bitnami/postgresql/lib:$LD_LIBRARY_PATH" \ PATH="/opt/bitnami/postgresql/bin:/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH" EXPOSE 9000 diff --git a/bitnami/sonarqube/9/debian-11/rootfs/opt/bitnami/scripts/libsonarqube.sh b/bitnami/sonarqube/9/debian-11/rootfs/opt/bitnami/scripts/libsonarqube.sh index ef0d45b76822..9599f3299f7c 100644 --- a/bitnami/sonarqube/9/debian-11/rootfs/opt/bitnami/scripts/libsonarqube.sh +++ b/bitnami/sonarqube/9/debian-11/rootfs/opt/bitnami/scripts/libsonarqube.sh @@ -395,8 +395,8 @@ sonarqube_stop() { ######################### sonarqube_copy_mounted_config() { if ! is_dir_empty "$SONARQUBE_MOUNTED_PROVISIONING_DIR"; then - if ! cp -Lr "${SONARQUBE_MOUNTED_PROVISIONING_DIR}"/* "${SONARQUBE_BASE_DIR}"; then - error "Issue copying mounted configuration files from $SONARQUBE_MOUNTED_PROVISIONING_DIR to $SONARQUBE_BASE_DIR. Make sure you are not mounting configuration files in $SONARQUBE_MOUNTED_PROVISIONING_DIR and $SONARQUBE_BASE_DIR at the same time" + if ! cp -Lr "${SONARQUBE_MOUNTED_PROVISIONING_DIR}"/* "${SONARQUBE_VOLUME_DIR}"; then + error "Issue copying mounted configuration files from $SONARQUBE_MOUNTED_PROVISIONING_DIR to $SONARQUBE_VOLUME_DIR. Make sure you are not mounting configuration files in $SONARQUBE_MOUNTED_PROVISIONING_DIR and $SONARQUBE_VOLUME_DIR at the same time" exit 1 fi fi