[bitnami/rabbitmq] Release 3.12.2-debian-11-r2 (#41747)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-07-21 00:52:04 +02:00
committed by GitHub
parent 102d928ed6
commit c625f46a36
4 changed files with 48 additions and 9 deletions

View File

@@ -5,14 +5,15 @@ FROM docker.io/bitnami/minideb:bullseye
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-07-14T09:54:16Z" \
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-07-19T22:40:27Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.12.1-debian-11-r6" \
org.opencontainers.image.ref.name="3.12.2-debian-11-r2" \
org.opencontainers.image.title="rabbitmq" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.12.1"
org.opencontainers.image.version="3.12.2"
ENV HOME="/opt/bitnami/rabbitmq/.rabbitmq" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -27,7 +28,7 @@ RUN install_packages ca-certificates curl libgcc-s1 libssl1.1 libstdc++6 libtinf
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"erlang-26.0.2-0-linux-${OS_ARCH}-debian-11" \
"rabbitmq-3.12.1-0-linux-${OS_ARCH}-debian-11" \
"rabbitmq-3.12.2-0-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -50,7 +51,7 @@ RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && locale-gen
COPY rootfs /
RUN /opt/bitnami/scripts/rabbitmq/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
ENV APP_VERSION="3.12.1" \
ENV APP_VERSION="3.12.2" \
BITNAMI_APP_NAME="rabbitmq" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en"

View File

@@ -9,6 +9,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "3.12.1-0"
"version": "3.12.2-0"
}
}

View File

@@ -187,6 +187,25 @@ validate_port() {
fi
}
########################
# Validate if the provided argument is a valid IPv6 address
# Arguments:
# $1 - IP to validate
# Returns:
# Boolean
#########################
validate_ipv6() {
local ip="${1:?ip is missing}"
local stat=1
local full_address_regex='^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$'
local short_address_regex='^((([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4}){0,6}::(([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4}){0,6})$'
if [[ $ip =~ $full_address_regex || $ip =~ $short_address_regex || $ip == "::" ]]; then
stat=0
fi
return "$stat"
}
########################
# Validate if the provided argument is a valid IPv4 address
# Arguments:
@@ -204,7 +223,26 @@ validate_ipv4() {
&& ${ip_array[2]} -le 255 && ${ip_array[3]} -le 255 ]]
stat=$?
fi
return $stat
return "$stat"
}
########################
# Validate if the provided argument is a valid IPv4 or IPv6 address
# Arguments:
# $1 - IP to validate
# Returns:
# Boolean
#########################
validate_ip() {
local ip="${1:?ip is missing}"
local stat=1
if validate_ipv4 "$ip"; then
stat=0
else
stat=$(validate_ipv6 "$ip")
fi
return "$stat"
}
########################

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "3.12"
- 3.12-debian-11
- 3.12.1
- 3.12.2
- latest