4.4.12-debian-10-r33 release

This commit is contained in:
Bitnami Bot
2022-02-25 04:03:14 +00:00
parent 5d8786cef4
commit dc48ec8e06
3 changed files with 5 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/mongodb/postunpack.sh
ENV BITNAMI_APP_NAME="mongodb" \
BITNAMI_IMAGE_VERSION="4.4.12-debian-10-r32" \
BITNAMI_IMAGE_VERSION="4.4.12-debian-10-r33" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH"
EXPOSE 27017

View File

@@ -74,8 +74,9 @@ is_dir_empty() {
# boolean
#########################
is_mounted_dir_empty() {
local dir="${1:?missing directory}"
local -r path="${1:?missing directory}"
# Calculate real path in order to avoid issues with symlinks
local -r dir="$(realpath "$path")"
if is_dir_empty "$dir" || find "$dir" -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" -exec false {} +; then
true
else