3.8.14-debian-10-r33 release

This commit is contained in:
Bitnami Bot
2021-04-12 08:40:49 +00:00
parent 95aa391907
commit 2c34b3b70a
6 changed files with 8 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/rabbitmq/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
ENV BITNAMI_APP_NAME="rabbitmq" \
BITNAMI_IMAGE_VERSION="3.8.14-debian-10-r32" \
BITNAMI_IMAGE_VERSION="3.8.14-debian-10-r33" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en"

View File

@@ -106,5 +106,7 @@ indent() {
for ((i = 0; i < num; i++)); do
indent_unit="${indent_unit}${char}"
done
# shellcheck disable=SC2001
# Complex regex, see https://github.com/koalaman/shellcheck/wiki/SC2001#exceptions
echo "$string" | sed "s/^/${indent_unit}/"
}

View File

@@ -9,7 +9,7 @@
# Functions
########################
# Gets semantic version
# Gets semantic version
# Arguments:
# $1 - version: string to extract major.minor.patch
# $2 - section: 1 to extract major, 2 to extract minor, 3 to extract patch
@@ -38,7 +38,7 @@ get_sematic_version () {
done
local number_regex='^[0-9]+$'
if [[ "$section" =~ $number_regex ]] && (( $section > 0 )) && (( $section <= 3 )); then
if [[ "$section" =~ $number_regex ]] && (( section > 0 )) && (( section <= 3 )); then
echo "${version_sections[$section]}"
return
else

View File

@@ -115,7 +115,7 @@ rabbitmq_validate() {
print_validation_error "You must indicate a password"
fi
if is_boolean_yes "$RABBITMQ_ENABLE_LDAP" && ( [[ -z "${RABBITMQ_LDAP_SERVERS}" ]] || [[ -z "${RABBITMQ_LDAP_USER_DN_PATTERN}" ]] ); then
if is_boolean_yes "$RABBITMQ_ENABLE_LDAP" && { [[ -z "${RABBITMQ_LDAP_SERVERS}" ]] || [[ -z "${RABBITMQ_LDAP_USER_DN_PATTERN}" ]]; }; then
print_validation_error "The LDAP configuration is required when LDAP authentication is enabled. Set the environment variables RABBITMQ_LDAP_SERVERS and RABBITMQ_LDAP_USER_DN_PATTERN."
fi
@@ -453,7 +453,6 @@ rabbitmq_erlang_ssl_dir() {
# None
#########################
rabbitmq_create_combined_ssl_file() {
local -r combined_ssl_file="/etc/rabbitmq_combined_keys.pem"
if [[ ! -f "$RABBITMQ_COMBINED_CERT_PATH" ]]; then
cat "$RABBITMQ_SSL_CERTFILE" "$RABBITMQ_SSL_KEYFILE" > "$RABBITMQ_COMBINED_CERT_PATH"
fi
@@ -679,7 +678,6 @@ rabbitmq_join_cluster() {
debug_execute "${RABBITMQ_BIN_DIR}/rabbitmqctl" stop_app
local counter=0
if ! retry_while "debug_execute ${RABBITMQ_BIN_DIR}/rabbitmq-plugins --node $clusternode is_enabled rabbitmq_management" 120 1; then
error "Node ${clusternode} is not running."
return 1

View File

@@ -33,6 +33,7 @@ if [[ "$WITH_ALL_LOCALES" =~ ^(yes|true|1)$ ]]; then
echo "Enabling all locales"
cp "$SUPPORTED_LOCALES_FILE" "$LOCALES_FILE"
else
# shellcheck disable=SC2001
LOCALES_TO_ADD="$(sed 's/[,;]\s*/\n/g' <<< "$EXTRA_LOCALES")"
while [[ -n "$LOCALES_TO_ADD" ]] && read -r locale; do
echo "Enabling locale ${locale}"