diff --git a/bitnami/postgresql-repmgr/13/debian-10/Dockerfile b/bitnami/postgresql-repmgr/13/debian-10/Dockerfile index 6395708b8ad3..0ba3654fcd68 100644 --- a/bitnami/postgresql-repmgr/13/debian-10/Dockerfile +++ b/bitnami/postgresql-repmgr/13/debian-10/Dockerfile @@ -9,8 +9,8 @@ ENV HOME="/" \ COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip libbsd0 libc6 libedit2 libffi6 libgcc1 libgmp10 libgnutls30 libhogweed4 libicu63 libidn2-0 libldap-2.4-2 liblzma5 libnettle6 libp11-kit0 libpcre3 libreadline7 libsasl2-2 libsqlite3-0 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps tar zlib1g -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-repmgr" "13.6.0-4" --checksum cc1ec414cddfe23c7bd36915a513dd235c3d8ee8036e450999b3f24ade500364 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-repmgr" "13.6.0-5" --checksum 939a83bdef24c77d4542e3920feb5336966e37657e57f30aaef81d3abb80537c +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1 RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami @@ -24,7 +24,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/postgresql-repmgr/postunpack.sh RUN /opt/bitnami/scripts/locales/add-extra-locales.sh ENV BITNAMI_APP_NAME="postgresql-repmgr" \ - BITNAMI_IMAGE_VERSION="13.6.0-debian-10-r17" \ + BITNAMI_IMAGE_VERSION="13.6.0-debian-10-r18" \ LANG="en_US.UTF-8" \ LANGUAGE="en_US:en" \ NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \ diff --git a/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json index ad4d431447a4..bb0eb28eddcf 100644 --- a/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,16 +1,16 @@ { "gosu": { "arch": "amd64", - "digest": "6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664", + "digest": "d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1", "distro": "debian-10", "type": "NAMI", - "version": "1.14.0-6" + "version": "1.14.0-7" }, "postgresql-repmgr": { "arch": "amd64", - "digest": "cc1ec414cddfe23c7bd36915a513dd235c3d8ee8036e450999b3f24ade500364", + "digest": "939a83bdef24c77d4542e3920feb5336966e37657e57f30aaef81d3abb80537c", "distro": "debian-10", "type": "NAMI", - "version": "13.6.0-4" + "version": "13.6.0-5" } } \ No newline at end of file diff --git a/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh b/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh index 21b964ff1cf4..1b504b1df458 100644 --- a/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh +++ b/bitnami/postgresql-repmgr/13/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh @@ -74,9 +74,8 @@ is_dir_empty() { # boolean ######################### is_mounted_dir_empty() { - local -r path="${1:?missing directory}" - # Calculate real path in order to avoid issues with symlinks - local -r dir="$(realpath "$path")" + local dir="${1:?missing directory}" + if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then true else diff --git a/bitnami/postgresql-repmgr/README.md b/bitnami/postgresql-repmgr/README.md index c854460d6c65..691cd82a5f2c 100644 --- a/bitnami/postgresql-repmgr/README.md +++ b/bitnami/postgresql-repmgr/README.md @@ -50,7 +50,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-r14` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/14.2.0-debian-10-r14/14/debian-10/Dockerfile) -* [`13`, `13-debian-10`, `13.6.0`, `13.6.0-debian-10-r17` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/13.6.0-debian-10-r17/13/debian-10/Dockerfile) +* [`13`, `13-debian-10`, `13.6.0`, `13.6.0-debian-10-r18` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/13.6.0-debian-10-r18/13/debian-10/Dockerfile) * [`12`, `12-debian-10`, `12.10.0`, `12.10.0-debian-10-r17` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/12.10.0-debian-10-r17/12/debian-10/Dockerfile) * [`11`, `11-debian-10`, `11.15.0`, `11.15.0-debian-10-r16`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/11.15.0-debian-10-r16/11/debian-10/Dockerfile) * [`10`, `10-debian-10`, `10.20.0`, `10.20.0-debian-10-r20` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql-repmgr/blob/10.20.0-debian-10-r20/10/debian-10/Dockerfile)