[bitnami/harbor-core] Release 2.10.2-debian-12-r6 (#67469)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2024-06-05 04:48:14 +02:00 committed by GitHub
parent d4c468ff16
commit 254724db65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 9 deletions

View File

@ -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-13T20:38:02Z" \
org.opencontainers.image.created="2024-06-05T00:11:25Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/harbor-core/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.10.2-debian-12-r5" \
org.opencontainers.image.ref.name="2.10.2-debian-12-r6" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/harbor-core" \
org.opencontainers.image.title="harbor-core" \
org.opencontainers.image.vendor="Broadcom, Inc." \
@ -28,9 +28,9 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl procps
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"wait-for-port-1.0.7-12-linux-${OS_ARCH}-debian-12" \
"ini-file-1.4.6-13-linux-${OS_ARCH}-debian-12" \
"harbor-core-2.10.2-3-linux-${OS_ARCH}-debian-12" \
"wait-for-port-1.0.7-13-linux-${OS_ARCH}-debian-12" \
"ini-file-1.4.6-14-linux-${OS_ARCH}-debian-12" \
"harbor-core-2.10.2-4-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \

View File

@ -3,18 +3,18 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "2.10.2-3"
"version": "2.10.2-4"
},
"ini-file": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.4.6-13"
"version": "1.4.6-14"
},
"wait-for-port": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "1.0.7-12"
"version": "1.0.7-13"
}
}

View File

@ -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
}
########################