From 1e33ab121bec95e627d6a268c2275907a8681e7b Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 22 Feb 2022 16:13:03 +0000 Subject: [PATCH] 13.6.0-debian-10-r10 release --- bitnami/postgresql/13/debian-10/Dockerfile | 2 +- .../13/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh | 1 - .../13/debian-10/rootfs/opt/bitnami/scripts/postgresql/setup.sh | 2 ++ bitnami/postgresql/README.md | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bitnami/postgresql/13/debian-10/Dockerfile b/bitnami/postgresql/13/debian-10/Dockerfile index 39fef4880d37..216932b83004 100644 --- a/bitnami/postgresql/13/debian-10/Dockerfile +++ b/bitnami/postgresql/13/debian-10/Dockerfile @@ -27,7 +27,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/postgresql/postunpack.sh RUN /opt/bitnami/scripts/locales/add-extra-locales.sh ENV BITNAMI_APP_NAME="postgresql" \ - BITNAMI_IMAGE_VERSION="13.6.0-debian-10-r9" \ + BITNAMI_IMAGE_VERSION="13.6.0-debian-10-r10" \ LANG="en_US.UTF-8" \ LANGUAGE="en_US:en" \ NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \ diff --git a/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 9fea03c2f007..df724e295052 100644 --- a/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -567,7 +567,6 @@ postgresql_clean_from_restart() { ######################### postgresql_initialize() { info "Initializing PostgreSQL database..." - postgresql_clean_from_restart # This fixes an issue where the trap would kill the entrypoint.sh, if a PID was left over from a previous run # Exec replaces the process without creating a new one, and when the container is restarted it may have the same PID diff --git a/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/postgresql/setup.sh b/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/postgresql/setup.sh index d1d6702e020a..c88cb0dc6b18 100755 --- a/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/postgresql/setup.sh +++ b/bitnami/postgresql/13/debian-10/rootfs/opt/bitnami/scripts/postgresql/setup.sh @@ -25,6 +25,8 @@ trap "postgresql_stop" EXIT am_i_root && ensure_user_exists "$POSTGRESQL_DAEMON_USER" --group "$POSTGRESQL_DAEMON_GROUP" # Fix logging issue when running as root am_i_root && chmod o+w "$(readlink /dev/stdout)" +# Remove flags and postmaster files from a previous run +postgresql_clean_from_restart # Allow running custom pre-initialization scripts postgresql_custom_pre_init_scripts # Ensure PostgreSQL is initialized diff --git a/bitnami/postgresql/README.md b/bitnami/postgresql/README.md index e7ff1a248850..0286259fb7e6 100644 --- a/bitnami/postgresql/README.md +++ b/bitnami/postgresql/README.md @@ -51,7 +51,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`14`, `14-debian-10`, `14.2.0`, `14.2.0-debian-10-r9`, `latest` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/14.2.0-debian-10-r9/14/debian-10/Dockerfile) -* [`13`, `13-debian-10`, `13.6.0`, `13.6.0-debian-10-r9` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/13.6.0-debian-10-r9/13/debian-10/Dockerfile) +* [`13`, `13-debian-10`, `13.6.0`, `13.6.0-debian-10-r10` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/13.6.0-debian-10-r10/13/debian-10/Dockerfile) * [`12`, `12-debian-10`, `12.10.0`, `12.10.0-debian-10-r9` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/12.10.0-debian-10-r9/12/debian-10/Dockerfile) * [`11`, `11-debian-10`, `11.15.0`, `11.15.0-debian-10-r9` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.15.0-debian-10-r9/11/debian-10/Dockerfile) * [`10`, `10-debian-10`, `10.20.0`, `10.20.0-debian-10-r9` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.20.0-debian-10-r9/10/debian-10/Dockerfile)