From 417e9a6356d63ec22ee5fcfb2f0c95c35c930fb6 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 27 Nov 2019 12:59:57 +0000 Subject: [PATCH] 10.11.0-centos-7-r17 release --- bitnami/postgresql/10/centos-7/Dockerfile | 2 +- bitnami/postgresql/10/centos-7/rootfs/libpostgresql.sh | 6 ++++-- bitnami/postgresql/README.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bitnami/postgresql/10/centos-7/Dockerfile b/bitnami/postgresql/10/centos-7/Dockerfile index 33854f0012e6..fc9de57ef8e4 100644 --- a/bitnami/postgresql/10/centos-7/Dockerfile +++ b/bitnami/postgresql/10/centos-7/Dockerfile @@ -15,7 +15,7 @@ COPY rootfs / RUN yum --enablerepo base,updates,extras -y install epel-release && yum --nogpgcheck --enablerepo base,updates,extras -y update && yum --enablerepo base,updates -y install nss_wrapper RUN /postunpack.sh ENV BITNAMI_APP_NAME="postgresql" \ - BITNAMI_IMAGE_VERSION="10.11.0-centos-7-r16" \ + BITNAMI_IMAGE_VERSION="10.11.0-centos-7-r17" \ LANG="en_US.UTF-8" \ LANGUAGE="en_US:en" \ NAMI_PREFIX="/.nami" \ diff --git a/bitnami/postgresql/10/centos-7/rootfs/libpostgresql.sh b/bitnami/postgresql/10/centos-7/rootfs/libpostgresql.sh index 772f1424aa87..16c6c82a9361 100644 --- a/bitnami/postgresql/10/centos-7/rootfs/libpostgresql.sh +++ b/bitnami/postgresql/10/centos-7/rootfs/libpostgresql.sh @@ -850,9 +850,11 @@ is_postgresql_running() { # Boolean ######################### postgresql_master_init_db() { + local envExtraFlags=() local initdb_args=() - if [[ -n "${POSTGRESQL_INITDB_ARGS[*]}" ]]; then - initdb_args+=("${POSTGRESQL_INITDB_ARGS[@]}") + if [[ -n "${POSTGRESQL_INITDB_ARGS}" ]]; then + read -r -a envExtraFlags <<< "$POSTGRESQL_INITDB_ARGS" + initdb_args+=("${envExtraFlags[@]}") fi if [[ -n "$POSTGRESQL_INITDB_WAL_DIR" ]]; then ensure_dir_exists "$POSTGRESQL_INITDB_WAL_DIR" diff --git a/bitnami/postgresql/README.md b/bitnami/postgresql/README.md index 4ff97f7de00c..4d4e9ccefc62 100644 --- a/bitnami/postgresql/README.md +++ b/bitnami/postgresql/README.md @@ -52,7 +52,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`11-centos-7`, `11.6.0-centos-7-r17` (11/centos-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.6.0-centos-7-r17/11/centos-7/Dockerfile) * [`10-ol-7`, `10.11.0-ol-7-r14` (10/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.11.0-ol-7-r14/10/ol-7/Dockerfile) * [`10-debian-9`, `10.11.0-debian-9-r12`, `10`, `10.11.0`, `10.11.0-r12` (10/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.11.0-debian-9-r12/10/debian-9/Dockerfile) -* [`10-centos-7`, `10.11.0-centos-7-r16` (10/centos-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.11.0-centos-7-r16/10/centos-7/Dockerfile) +* [`10-centos-7`, `10.11.0-centos-7-r17` (10/centos-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.11.0-centos-7-r17/10/centos-7/Dockerfile) * [`9.6-ol-7`, `9.6.16-ol-7-r14` (9.6/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.16-ol-7-r14/9.6/ol-7/Dockerfile) * [`9.6-debian-9`, `9.6.16-debian-9-r11`, `9.6`, `9.6.16`, `9.6.16-r11` (9.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.16-debian-9-r11/9.6/debian-9/Dockerfile) * [`9.6-centos-7`, `9.6.16-centos-7-r16` (9.6/centos-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.16-centos-7-r16/9.6/centos-7/Dockerfile)