From d2b1ab6383245059cc8eae3fe4e6783aeaff0f42 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 18 Dec 2018 00:29:44 +0000 Subject: [PATCH] 11.1.0-debian-9-r27 release --- bitnami/postgresql/11/debian-9/Dockerfile | 4 ++-- .../postgresql/11/debian-9/rootfs/app-entrypoint.sh | 12 ++++++++++++ bitnami/postgresql/README.md | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/bitnami/postgresql/11/debian-9/Dockerfile b/bitnami/postgresql/11/debian-9/Dockerfile index abef0e5f3a1a..1b9dfe769696 100644 --- a/bitnami/postgresql/11/debian-9/Dockerfile +++ b/bitnami/postgresql/11/debian-9/Dockerfile @@ -6,13 +6,13 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \ # Install required system packages and dependencies RUN install_packages libbsd0 libc6 libedit2 libgcc1 libicu57 liblzma5 libncurses5 libnss-wrapper libssl1.1 libstdc++6 libtinfo5 libxml2 libxslt1.1 zlib1g -RUN bitnami-pkg unpack postgresql-11.1.0-22 --checksum 2331915a38716fb34385d9a37e973c152dcb7aadf194f60d449a2a2fd0c8ebf9 +RUN bitnami-pkg unpack postgresql-11.1.0-23 --checksum 1bcbf241081b41121adf4c1ecb5eb8d7f4ee87940543bc567e0e788349303953 RUN mkdir /docker-entrypoint-initdb.d /opt/bitnami/postgresql/conf/ RUN chmod -R g+rwX /opt/bitnami/postgresql/conf/ COPY rootfs / ENV BITNAMI_APP_NAME="postgresql" \ - BITNAMI_IMAGE_VERSION="11.1.0-debian-9-r26" \ + BITNAMI_IMAGE_VERSION="11.1.0-debian-9-r27" \ NAMI_PREFIX="/.nami" \ PATH="/opt/bitnami/postgresql/bin:$PATH" \ POSTGRESQL_DATABASE="" \ diff --git a/bitnami/postgresql/11/debian-9/rootfs/app-entrypoint.sh b/bitnami/postgresql/11/debian-9/rootfs/app-entrypoint.sh index 5be3f34e5fff..1346aa325e2c 100755 --- a/bitnami/postgresql/11/debian-9/rootfs/app-entrypoint.sh +++ b/bitnami/postgresql/11/debian-9/rootfs/app-entrypoint.sh @@ -16,6 +16,18 @@ if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP" fi + if [[ -n $POSTGRESQL_PASSWORD_FILE ]]; then + declare PASSWORD_AUX + PASSWORD_AUX="$(< "${POSTGRESQL_PASSWORD_FILE}")" + export POSTGRESQL_PASSWORD=$PASSWORD_AUX + fi + + if [[ -n $POSTGRESQL_REPLICATION_PASSWORD_FILE ]]; then + declare REPLICATION_PASSWORD_AUX + REPLICATION_PASSWORD_AUX="$(< "${POSTGRESQL_REPLICATION_PASSWORD_FILE}")" + export POSTGRESQL_REPLICATION_PASSWORD=$REPLICATION_PASSWORD_AUX + fi + nami_initialize postgresql info "Starting postgresql... " fi diff --git a/bitnami/postgresql/README.md b/bitnami/postgresql/README.md index 3578d03fc0bb..74fc1268c0c8 100644 --- a/bitnami/postgresql/README.md +++ b/bitnami/postgresql/README.md @@ -48,8 +48,8 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`11-ol-7`, `11.1.0-ol-7-r40` (11/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.1.0-ol-7-r40/11/ol-7/Dockerfile) -* [`11-debian-9`, `11.1.0-debian-9-r26`, `11`, `11.1.0`, `11.1.0-r26` (11/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.1.0-debian-9-r26/11/debian-9/Dockerfile) -* [`10-ol-7`, `10.6.0-ol-7-r44` (10/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.6.0-ol-7-r44/10/ol-7/Dockerfile) +* [`11-debian-9`, `11.1.0-debian-9-r27`, `11`, `11.1.0`, `11.1.0-r27` (11/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.1.0-debian-9-r27/11/debian-9/Dockerfile) +* [`10-ol-7`, `10.6.0-ol-7-r43` (10/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.6.0-ol-7-r43/10/ol-7/Dockerfile) * [`10-debian-9`, `10.6.0-debian-9-r31`, `10`, `10.6.0`, `10.6.0-r31`, `latest` (10/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.6.0-debian-9-r31/10/debian-9/Dockerfile) * [`9.6-ol-7`, `9.6.11-ol-7-r44` (9.6/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.11-ol-7-r44/9.6/ol-7/Dockerfile) * [`9.6-debian-9`, `9.6.11-debian-9-r30`, `9.6`, `9.6.11`, `9.6.11-r30` (9.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.11-debian-9-r30/9.6/debian-9/Dockerfile)