From 557103baef0cd62b2e7b84bf87604559037e4672 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 31 May 2024 12:06:05 +0200 Subject: [PATCH] [bitnami/kubeapps-dashboard] Release 2.10.0-debian-12-r5 (#67368) Signed-off-by: Bitnami Containers --- bitnami/kubeapps-dashboard/2/debian-12/Dockerfile | 8 ++++---- .../prebuildfs/opt/bitnami/.bitnami_components.json | 4 ++-- .../2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh | 8 +++++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/bitnami/kubeapps-dashboard/2/debian-12/Dockerfile b/bitnami/kubeapps-dashboard/2/debian-12/Dockerfile index a5b9d463599c9..cfb0514310473 100644 --- a/bitnami/kubeapps-dashboard/2/debian-12/Dockerfile +++ b/bitnami/kubeapps-dashboard/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-13T22:29:24Z" \ + org.opencontainers.image.created="2024-05-31T09:44:40Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kubeapps-dashboard/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="2.10.0-debian-12-r4" \ + org.opencontainers.image.ref.name="2.10.0-debian-12-r5" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kubeapps-dashboard" \ org.opencontainers.image.title="kubeapps-dashboard" \ org.opencontainers.image.vendor="Broadcom, Inc." \ @@ -28,8 +28,8 @@ RUN install_packages ca-certificates curl gettext libcrypt1 libgeoip1 libpcre3 l RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ "render-template-1.0.6-13-linux-${OS_ARCH}-debian-12" \ - "nginx-1.26.0-1-linux-${OS_ARCH}-debian-12" \ - "kubeapps-2.10.0-1-linux-${OS_ARCH}-debian-12" \ + "nginx-1.26.1-0-linux-${OS_ARCH}-debian-12" \ + "kubeapps-2.10.0-2-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json index 9d0b61243ef30..1c1bc226e9b9a 100644 --- a/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,13 +3,13 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "2.10.0-1" + "version": "2.10.0-2" }, "nginx": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "1.26.0-1" + "version": "1.26.1-0" }, "render-template": { "arch": "amd64", diff --git a/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh b/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh index 90652245c2a74..004e426fba178 100644 --- a/bitnami/kubeapps-dashboard/2/debian-12/prebuildfs/opt/bitnami/scripts/libnet.sh +++ b/bitnami/kubeapps-dashboard/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 } ########################