diff --git a/bitnami/janusgraph/1/debian-12/Dockerfile b/bitnami/janusgraph/1/debian-12/Dockerfile index 7b87547c6496..39b7aaf710e3 100644 --- a/bitnami/janusgraph/1/debian-12/Dockerfile +++ b/bitnami/janusgraph/1/debian-12/Dockerfile @@ -9,11 +9,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-02-24T08:41:01Z" \ + org.opencontainers.image.created="2025-03-15T19:38:23Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/janusgraph/README.md" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.1.0-debian-12-r10" \ + org.opencontainers.image.ref.name="1.1.0-debian-12-r11" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/janusgraph" \ org.opencontainers.image.title="janusgraph" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -31,7 +30,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "yq-4.45.1-5-linux-${OS_ARCH}-debian-12" \ + "yq-4.45.1-6-linux-${OS_ARCH}-debian-12" \ "jre-11.0.26-9-1-linux-${OS_ARCH}-debian-12" \ "janusgraph-1.1.0-2-linux-${OS_ARCH}-debian-12" \ ) ; \ diff --git a/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 7f4463c44a41..f65f4e8b86a8 100644 --- a/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -15,6 +15,6 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "4.45.1-5" + "version": "4.45.1-6" } } \ No newline at end of file diff --git a/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh b/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh index 450f05bd823f..1e18ef9866fa 100644 --- a/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh +++ b/bitnami/janusgraph/1/debian-12/prebuildfs/opt/bitnami/scripts/liblog.sh @@ -39,7 +39,14 @@ stderr_print() { # None ######################### log() { - stderr_print "${CYAN}${MODULE:-} ${MAGENTA}$(date "+%T.%2N ")${RESET}${*}" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]]; then + stderr_print "${CYAN}${MODULE:-} ${MAGENTA}$(date "+%T.%2N ")${RESET}${*}" + else + stderr_print "${MODULE:-} $(date "+%T.%2N ")${*}" + fi } ######################## # Log an 'info' message @@ -49,7 +56,14 @@ log() { # None ######################### info() { - log "${GREEN}INFO ${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$GREEN" + fi + log "${msg_color}INFO ${RESET} ==> ${*}" } ######################## # Log message @@ -59,7 +73,14 @@ info() { # None ######################### warn() { - log "${YELLOW}WARN ${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$YELLOW" + fi + log "${msg_color}WARN ${RESET} ==> ${*}" } ######################## # Log an 'error' message @@ -69,7 +90,14 @@ warn() { # None ######################### error() { - log "${RED}ERROR${RESET} ==> ${*}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" + # comparison is performed without regard to the case of alphabetic characters + shopt -s nocasematch + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]];then + msg_color="$RED" + fi + log "${msg_color}ERROR${RESET} ==> ${*}" } ######################## # Log a 'debug' message @@ -81,12 +109,16 @@ error() { # None ######################### debug() { - # 'is_boolean_yes' is defined in libvalidations.sh, but depends on this file so we cannot source it - local bool="${BITNAMI_DEBUG:-false}" + local msg_color="" + local color_bool="${BITNAMI_COLOR:-true}" # comparison is performed without regard to the case of alphabetic characters shopt -s nocasematch - if [[ "$bool" = 1 || "$bool" =~ ^(yes|true)$ ]]; then - log "${MAGENTA}DEBUG${RESET} ==> ${*}" + if [[ "$color_bool" = 1 || "$color_bool" =~ ^(yes|true)$ ]] ;then + msg_color="$MAGENTA" + fi + local debug_bool="${BITNAMI_DEBUG:-false}" + if [[ "$debug_bool" = 1 || "$debug_bool" =~ ^(yes|true)$ ]]; then + log "${msg_color}DEBUG${RESET} ==> ${*}" fi }