[bitnami/nats] Release 2.10.16-debian-12-r0 (#67198)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-05-22 10:20:38 +02:00
committed by GitHub
parent 3f5bc89e14
commit 62dacba818
4 changed files with 14 additions and 8 deletions

View File

@@ -7,15 +7,15 @@ 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-17T01:50:14Z" \
org.opencontainers.image.created="2024-05-22T07:08:13Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/nats/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.10.15-debian-12-r0" \
org.opencontainers.image.ref.name="2.10.16-debian-12-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/nats" \
org.opencontainers.image.title="nats" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="2.10.15"
org.opencontainers.image.version="2.10.16"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -29,7 +29,7 @@ RUN install_packages ca-certificates curl openssl procps
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"render-template-1.0.6-13-linux-${OS_ARCH}-debian-12" \
"nats-2.10.15-0-linux-${OS_ARCH}-debian-12" \
"nats-2.10.16-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -48,7 +48,7 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/nats/postunpack.sh
ENV APP_VERSION="2.10.15" \
ENV APP_VERSION="2.10.16" \
BITNAMI_APP_NAME="nats" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/nats/bin:$PATH"

View File

@@ -3,7 +3,7 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "2.10.15-0"
"version": "2.10.16-0"
},
"render-template": {
"arch": "amd64",

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

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "2"
- 2-debian-12
- 2.10.15
- 2.10.16
- latest