diff --git a/bitnami/pgbouncer/1/debian-10/Dockerfile b/bitnami/pgbouncer/1/debian-10/Dockerfile index 66fded03536c..c1df8c5a19f6 100644 --- a/bitnami/pgbouncer/1/debian-10/Dockerfile +++ b/bitnami/pgbouncer/1/debian-10/Dockerfile @@ -10,10 +10,10 @@ COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip libaudit1 libbsd0 libc-ares2 libc6 libcap-ng0 libedit2 libevent-2.1-6 libffi6 libgcc1 libgmp10 libgnutls30 libhogweed4 libicu63 libidn2-0 libldap-2.4-2 liblzma5 libnettle6 libp11-kit0 libpam0g libsasl2-2 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 libuuid1 libxml2 libxslt1.1 locales procps tar zlib1g RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-9" --checksum 4b509978f6d0a4c3b958deeb3490241cda60e4412c138da665192631d60f70de -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-client" "10.20.0-3" --checksum 90e96788ce3e47d1148f8fac65d14c6b8bfa084544a8cb983399537156dd2620 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-6" --checksum a947aad3f8cab0ff7c76506e1ea09156dfd442a6842500d1b8203f735b0e6b84 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664 -RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pgbouncer" "1.16.1-6" --checksum 4377cd58a0ce1ad1fda8e274eeb7dcfbdb13e16d42e086515355d23469fdf882 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "postgresql-client" "10.20.0-4" --checksum 351886297b1300f9430bed82c58a9ec4c35101de73ee9bf8bb33b3c7fff76801 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "ini-file" "1.4.1-7" --checksum 7a4f45cbebd2e242278060415dd1a3f0dbe68991fdcaea5bb311e8de54a3e027 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1 +RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "pgbouncer" "1.16.1-7" --checksum 66d71b41214828967ee1e1c3ab97ad085174f1c19d86c42437e07c3bea4294df RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami @@ -27,7 +27,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/locales/add-extra-locales.sh RUN /opt/bitnami/scripts/pgbouncer/postunpack.sh ENV BITNAMI_APP_NAME="pgbouncer" \ - BITNAMI_IMAGE_VERSION="1.16.1-debian-10-r107" \ + BITNAMI_IMAGE_VERSION="1.16.1-debian-10-r108" \ LANG="en_US.UTF-8" \ LANGUAGE="en_US:en" \ NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \ diff --git a/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json index bcd88c0ad826..29b98ebf52df 100644 --- a/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/.bitnami_components.json @@ -1,31 +1,31 @@ { "gosu": { "arch": "amd64", - "digest": "6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664", + "digest": "d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1", "distro": "debian-10", "type": "NAMI", - "version": "1.14.0-6" + "version": "1.14.0-7" }, "ini-file": { "arch": "amd64", - "digest": "a947aad3f8cab0ff7c76506e1ea09156dfd442a6842500d1b8203f735b0e6b84", + "digest": "7a4f45cbebd2e242278060415dd1a3f0dbe68991fdcaea5bb311e8de54a3e027", "distro": "debian-10", "type": "NAMI", - "version": "1.4.1-6" + "version": "1.4.1-7" }, "pgbouncer": { "arch": "amd64", - "digest": "4377cd58a0ce1ad1fda8e274eeb7dcfbdb13e16d42e086515355d23469fdf882", + "digest": "66d71b41214828967ee1e1c3ab97ad085174f1c19d86c42437e07c3bea4294df", "distro": "debian-10", "type": "NAMI", - "version": "1.16.1-6" + "version": "1.16.1-7" }, "postgresql-client": { "arch": "amd64", - "digest": "90e96788ce3e47d1148f8fac65d14c6b8bfa084544a8cb983399537156dd2620", + "digest": "351886297b1300f9430bed82c58a9ec4c35101de73ee9bf8bb33b3c7fff76801", "distro": "debian-10", "type": "NAMI", - "version": "10.20.0-3" + "version": "10.20.0-4" }, "wait-for-port": { "arch": "amd64", diff --git a/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh b/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh index 21b964ff1cf4..1b504b1df458 100644 --- a/bitnami/pgbouncer/1/debian-10/prebuildfs/opt/bitnami/scripts/libfs.sh +++ b/bitnami/pgbouncer/1/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/pgbouncer/README.md b/bitnami/pgbouncer/README.md index eafe0aab4215..20fda924b261 100644 --- a/bitnami/pgbouncer/README.md +++ b/bitnami/pgbouncer/README.md @@ -43,7 +43,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`1`, `1-debian-10`, `1.16.1`, `1.16.1-debian-10-r107`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgbouncer/blob/1.16.1-debian-10-r107/1/debian-10/Dockerfile) +* [`1`, `1-debian-10`, `1.16.1`, `1.16.1-debian-10-r108`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-pgbouncer/blob/1.16.1-debian-10-r108/1/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/pgbouncer GitHub repo](https://github.com/bitnami/bitnami-docker-pgbouncer).