5.0.9-debian-10-r48 release

This commit is contained in:
Bitnami Bot 2020-06-11 22:20:18 +00:00
parent ef81fbd279
commit 6761e84c3f
3 changed files with 13 additions and 3 deletions

View File

@ -17,7 +17,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN /postunpack.sh
ENV BITNAMI_APP_NAME="redis-cluster" \
BITNAMI_IMAGE_VERSION="5.0.9-debian-10-r47" \
BITNAMI_IMAGE_VERSION="5.0.9-debian-10-r48" \
PATH="/opt/bitnami/redis/bin:/opt/bitnami/common/bin:$PATH"
EXPOSE 6379

View File

@ -54,7 +54,17 @@ wait_for_dns_lookup() {
# Machine IP
#########################
get_machine_ip() {
dns_lookup "$(hostname)"
local -a ip_addresses
local hostname
hostname="$(hostname)"
read -r -a ip_addresses <<< "$(dns_lookup "$hostname" | xargs echo)"
if [[ "${#ip_addresses[@]}" -gt 1 ]]; then
warn "Found more than one IP address associated to hostname ${hostname}: ${ip_addresses[*]}, will use ${ip_addresses[0]}"
elif [[ "${#ip_addresses[@]}" -lt 1 ]]; then
error "Could not find any IP address associated to hostname ${hostname}"
exit 1
fi
echo "${ip_addresses[0]}"
}
########################

View File

@ -40,7 +40,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`6.0-debian-10`, `6.0.5-debian-10-r2`, `6.0`, `6.0.5`, `latest` (6.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis-cluster/blob/6.0.5-debian-10-r2/6.0/debian-10/Dockerfile)
* [`5.0-debian-10`, `5.0.9-debian-10-r47`, `5.0`, `5.0.9` (5.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis-cluster/blob/5.0.9-debian-10-r47/5.0/debian-10/Dockerfile)
* [`5.0-debian-10`, `5.0.9-debian-10-r48`, `5.0`, `5.0.9` (5.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-redis-cluster/blob/5.0.9-debian-10-r48/5.0/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/redis-cluster GitHub repo](https://github.com/bitnami/bitnami-docker-redis-cluster).