From 7ea1f774318d570a0e50c17478b4d4ea48a93333 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sun, 16 Jun 2024 12:17:35 +0200 Subject: [PATCH] [bitnami/mariadb] Release 11.2.4-debian-12-r1 (#67917) Signed-off-by: Bitnami Containers --- bitnami/mariadb/11.2/debian-12/Dockerfile | 6 +++--- .../prebuildfs/opt/bitnami/.bitnami_components.json | 2 +- .../debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh | 8 +++++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/bitnami/mariadb/11.2/debian-12/Dockerfile b/bitnami/mariadb/11.2/debian-12/Dockerfile index 318be5795fe0f..b18a637015837 100644 --- a/bitnami/mariadb/11.2/debian-12/Dockerfile +++ b/bitnami/mariadb/11.2/debian-12/Dockerfile @@ -7,11 +7,11 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2024-05-17T09:42:23Z" \ + org.opencontainers.image.created="2024-06-16T09:57:06Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/mariadb/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="11.2.4-debian-12-r0" \ + org.opencontainers.image.ref.name="11.2.4-debian-12-r1" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mariadb" \ org.opencontainers.image.title="mariadb" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -28,7 +28,7 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libaio1 libaudit1 libcap-ng0 libcrypt1 libgcc-s1 libicu72 liblzma5 libncurses6 libpam0g libssl3 libstdc++6 libtinfo6 libxml2 procps psmisc zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "ini-file-1.4.6-13-linux-${OS_ARCH}-debian-12" \ + "ini-file-1.4.6-14-linux-${OS_ARCH}-debian-12" \ "mariadb-11.2.4-0-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ diff --git a/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index a715f87352ff2..07a35adeb69e6 100644 --- a/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,7 +3,7 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "1.4.6-13" + "version": "1.4.6-14" }, "mariadb": { "arch": "amd64", diff --git a/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh b/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh index 90652245c2a74..004e426fba178 100644 --- a/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh +++ b/bitnami/mariadb/11.2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh @@ -8,6 +8,7 @@ # Load Generic Libraries . /opt/bitnami/scripts/liblog.sh +. /opt/bitnami/scripts/libvalidations.sh # Functions @@ -68,7 +69,12 @@ get_machine_ip() { error "Could not find any IP address associated to hostname ${hostname}" exit 1 fi - echo "${ip_addresses[0]}" + # Check if the first IP address is IPv6 to add brackets + if validate_ipv6 "${ip_addresses[0]}" ; then + echo "[${ip_addresses[0]}]" + else + echo "${ip_addresses[0]}" + fi } ########################