4.2.7-debian-10-r9 release

This commit is contained in:
Bitnami Bot 2020-05-29 12:41:55 +00:00
parent 2b45f280a2
commit 95fa1a3db4
3 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
RUN /opt/bitnami/scripts/mongodb/postunpack.sh
ENV BITNAMI_APP_NAME="mongodb" \
BITNAMI_IMAGE_VERSION="4.2.7-debian-10-r8" \
BITNAMI_IMAGE_VERSION="4.2.7-debian-10-r9" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH"
EXPOSE 27017

View File

@ -727,7 +727,11 @@ mongodb_is_node_available() {
db.getUsers()
EOF
)
grep -q "\"user\" :" <<< "$result"
if ! grep -q "\"user\" :" <<< "$result"; then
# If no password was provided on first run
# it may be the case that DB is up but has no users
[[ -z $password ]] && grep -q "\[\ \]" <<< "$result"
fi
}
########################

View File

@ -46,7 +46,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/).
* [`4.2-debian-10`, `4.2.7-debian-10-r8`, `4.2`, `4.2.7`, `latest` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.7-debian-10-r8/4.2/debian-10/Dockerfile)
* [`4.2-debian-10`, `4.2.7-debian-10-r9`, `4.2`, `4.2.7`, `latest` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.7-debian-10-r9/4.2/debian-10/Dockerfile)
* [`3.6-debian-10`, `0.0.0-debian-10-r-1`, `3.6`, `0.0.0` (3.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/0.0.0-debian-10-r-1/3.6/debian-10/Dockerfile)
* [`4.0-debian-10`, `0.0.0-debian-10-r-1`, `4.0`, `0.0.0` (4.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/0.0.0-debian-10-r-1/4.0/debian-10/Dockerfile)