3.8.11-debian-10-r15 release
This commit is contained in:
parent
72209eab6e
commit
65d5b67140
|
|
@ -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.11-debian-10-r14" \
|
||||
BITNAMI_IMAGE_VERSION="3.8.11-debian-10-r15" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en"
|
||||
|
||||
|
|
|
|||
|
|
@ -66,26 +66,6 @@ rabbitmq_validate() {
|
|||
print_validation_error "An invalid port was specified in the environment variable ${port_var}: ${err}."
|
||||
fi
|
||||
}
|
||||
check_file_exists_or_path_writable() {
|
||||
local path_to_check="${!1}"
|
||||
local full_path_to_check=$(realpath "${path_to_check}")
|
||||
local path_directory_to_check="${full_path_to_check%/*}"
|
||||
# check if given path is empty
|
||||
if [ -z "${path_to_check}" ]; then
|
||||
# not okay if the given path is empty
|
||||
print_validation_error "The variable ${1} must be set to either an existant file or a non-existant file in a writable directory."
|
||||
fi
|
||||
# check if file at given path exists
|
||||
if [ ! -f "${path_to_check}" ]; then
|
||||
# if the file does not exist, check if the directory is writable
|
||||
if [ ! -w "${path_directory_to_check}" ]; then
|
||||
# not okay if not writable
|
||||
print_validation_error "The variable ${1} must be set to either an existant file or a non-existant file in a writable directory."
|
||||
fi
|
||||
# ok if writable
|
||||
fi
|
||||
# ok if the file exists
|
||||
}
|
||||
|
||||
check_fqdn() {
|
||||
if [[ "${!1}" == *.* ]]; then
|
||||
|
|
@ -95,6 +75,29 @@ rabbitmq_validate() {
|
|||
fi
|
||||
}
|
||||
|
||||
check_file_exists_or_path_writable() {
|
||||
local path_to_check="${!1}"
|
||||
local full_path_to_check
|
||||
full_path_to_check=$(realpath "${path_to_check}")
|
||||
local path_directory_to_check="${full_path_to_check%/*}"
|
||||
|
||||
# check if given path is empty
|
||||
if [[ -z "${path_to_check}" ]]; then
|
||||
# not okay if the given path is empty
|
||||
print_validation_error "The variable ${1} must be set to either an existant file or a non-existant file in a writable directory."
|
||||
fi
|
||||
# check if file at given path exists
|
||||
if [[ ! -f "${path_to_check}" ]]; then
|
||||
# if the file does not exist, check if the directory is writable
|
||||
if [[ ! -w "${path_directory_to_check}" ]]; then
|
||||
# not okay if not writable
|
||||
print_validation_error "The variable ${1} must be set to either an existant file or a non-existant file in a writable directory."
|
||||
fi
|
||||
# ok if writable
|
||||
fi
|
||||
# ok if the file exists
|
||||
}
|
||||
|
||||
check_yes_no_value "RABBITMQ_LOAD_DEFINITIONS"
|
||||
check_yes_no_value "RABBITMQ_SECURE_PASSWORD"
|
||||
check_yes_no_value "RABBITMQ_ENABLE_LDAP"
|
||||
|
|
@ -445,8 +448,9 @@ 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"
|
||||
cat "$RABBITMQ_SSL_CERTFILE" "$RABBITMQ_SSL_KEYFILE" > "$RABBITMQ_COMBINED_CERT_PATH"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ Non-root container images add an extra layer of security and are generally recom
|
|||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`3.8`, `3.8-debian-10`, `3.8.11`, `3.8.11-debian-10-r14`, `latest` (3.8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq/blob/3.8.11-debian-10-r14/3.8/debian-10/Dockerfile)
|
||||
* [`3.8`, `3.8-debian-10`, `3.8.11`, `3.8.11-debian-10-r15`, `latest` (3.8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq/blob/3.8.11-debian-10-r15/3.8/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/rabbitmq GitHub repo](https://github.com/bitnami/bitnami-docker-rabbitmq).
|
||||
|
||||
|
|
@ -207,7 +207,7 @@ Available variables:
|
|||
* `RABBITMQ_SSL_CACERTFILE`: Path to the RabbitMQ server SSL CA certificate file. No defaults.
|
||||
* `RABBITMQ_SSL_CERTFILE`: Path to the RabbitMQ server SSL certificate file. No defaults.
|
||||
* `RABBITMQ_SSL_KEYFILE`: Path to the RabbitMQ server SSL certificate key file. No defaults.
|
||||
* `RABBITMQ_COMBINED_CERT_PATH`: Cert- and keyfile are combined automatically into one combined file at this file path. If you are using a combined certificate anyways, mount it to the container and set this path to the mounted file. Default: **/tmp/rabbitmq_combined_keys.pem**
|
||||
* `RABBITMQ_COMBINED_CERT_PATH`: Cert- and keyfile are combined automatically into one combined file at this file path. If you are using a combined certificate anyways, mount it to the container and set this path to the mounted file. Default: **/tmp/rabbitmq_combined_keys.pem**
|
||||
* `RABBITMQ_SSL_DEPTH`: Maximum number of non-self-issued intermediate certificates that may follow the peer certificate in a valid certification path. No defaults.
|
||||
* `RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT`: Whether to reject TLS connections if client fails to provide a certificate. Default: **verify_none**
|
||||
* `RABBITMQ_SSL_VERIFY`: Whether to enable peer SSL certificate verification. Default: **no**
|
||||
|
|
|
|||
Loading…
Reference in New Issue