3.8.7-debian-10-r0 release

This commit is contained in:
Bitnami Bot 2020-08-19 09:41:38 +00:00
parent ceb9acce97
commit 8985de5b1d
4 changed files with 34 additions and 14 deletions

View File

@ -11,7 +11,7 @@ COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages acl ca-certificates curl gzip libc6 libssl1.1 libtinfo6 locales procps tar zlib1g
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "erlang" "22.3.0-0" --checksum e9b6cba6a355dc2a6cc59829a59240d70cfb247f584a5f65f16fd6754c716166
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "rabbitmq" "3.8.6-0" --checksum 57ddee0ee22690cc8f0360f586c74aabd04b5e953837c155a9af2dc635fc593a
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "rabbitmq" "3.8.7-0" --checksum e1e7af5a5df9d94b7b20e07729d46f0053c918e873f7f6f87bf344a5f50fada2
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.12.0-1" --checksum 51cfb1b7fd7b05b8abd1df0278c698103a9b1a4964bdacd87ca1d5c01631d59c
RUN apt-get update && apt-get upgrade -y && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
@ -26,7 +26,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.6-debian-10-r1" \
BITNAMI_IMAGE_VERSION="3.8.7-debian-10-r0" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en"

View File

@ -15,9 +15,9 @@
},
"rabbitmq": {
"arch": "amd64",
"digest": "57ddee0ee22690cc8f0360f586c74aabd04b5e953837c155a9af2dc635fc593a",
"digest": "e1e7af5a5df9d94b7b20e07729d46f0053c918e873f7f6f87bf344a5f50fada2",
"distro": "debian-10",
"type": "NAMI",
"version": "3.8.6-0"
"version": "3.8.7-0"
}
}

View File

@ -6,6 +6,7 @@
# Load Generic Libraries
. /opt/bitnami/scripts/libvalidations.sh
. /opt/bitnami/scripts/liblog.sh
# Functions
@ -175,23 +176,42 @@ EOF
########################
# Generate a logrotate configuration file
# Arguments:
# $1 - Log path
# $2 - Period
# $3 - Number of rotations to store
# $4 - Extra options (Optional)
# $1 - Service name
# $2 - Log files pattern
# Flags:
# --period - Period
# --rotations - Number of rotations to store
# --extra - Extra options (Optional)
# Returns:
# None
#########################
generate_logrotate_conf() {
local service_name="${1:?service name is missing}"
local log_path="${2:?log path is missing}"
local period="${3:-weekly}"
local rotations="${4:-150}"
local extra_options="${5:-}"
local period="weekly"
local rotations="150"
local extra=""
local logrotate_conf_dir="/etc/logrotate.d"
local var_name
# Parse optional CLI flags
shift 2
while [[ "$#" -gt 0 ]]; do
case "$1" in
--period|--rotations|--extra)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
declare "$var_name"="${1:?"$var_name" is missing}"
;;
*)
echo "Invalid command line flag ${1}" >&2
return 1
;;
esac
shift
done
mkdir -p "$logrotate_conf_dir"
cat >"${logrotate_conf_dir}/${service_name}" <<EOF
cat <<EOF | sed '/^\s*$/d' >"${logrotate_conf_dir}/${service_name}"
${log_path} {
${period}
rotate ${rotations}
@ -199,7 +219,7 @@ ${log_path} {
compress
copytruncate
missingok
${extra_options}
$(indent "$extra" 2)
}
EOF
}

View File

@ -49,7 +49,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-debian-10`, `3.8.6-debian-10-r1`, `3.8`, `3.8.6`, `latest` (3.8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq/blob/3.8.6-debian-10-r1/3.8/debian-10/Dockerfile)
* [`3.8`, `3.8-debian-10`, `3.8.7`, `3.8.7-debian-10-r0`, `latest` (3.8/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-rabbitmq/blob/3.8.7-debian-10-r0/3.8/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/rabbitmq GitHub repo](https://github.com/bitnami/bitnami-docker-rabbitmq).