From fe634309aa8d5b9eb4e77d1cc0a046c67591c5d4 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 31 Jul 2020 09:44:58 +0000 Subject: [PATCH] 4.0.19-debian-9-r3 release --- bitnami/mongodb/4.0/debian-9/Dockerfile | 2 +- .../rootfs/opt/bitnami/scripts/mongodb/postunpack.sh | 6 ++++-- bitnami/mongodb/README.md | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/bitnami/mongodb/4.0/debian-9/Dockerfile b/bitnami/mongodb/4.0/debian-9/Dockerfile index 144dc20fa940..165e217081fa 100644 --- a/bitnami/mongodb/4.0/debian-9/Dockerfile +++ b/bitnami/mongodb/4.0/debian-9/Dockerfile @@ -19,7 +19,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.0.19-debian-9-r2" \ + BITNAMI_IMAGE_VERSION="4.0.19-debian-9-r3" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH" EXPOSE 27017 diff --git a/bitnami/mongodb/4.0/debian-9/rootfs/opt/bitnami/scripts/mongodb/postunpack.sh b/bitnami/mongodb/4.0/debian-9/rootfs/opt/bitnami/scripts/mongodb/postunpack.sh index 13194248347d..716e2061b163 100755 --- a/bitnami/mongodb/4.0/debian-9/rootfs/opt/bitnami/scripts/mongodb/postunpack.sh +++ b/bitnami/mongodb/4.0/debian-9/rootfs/opt/bitnami/scripts/mongodb/postunpack.sh @@ -21,8 +21,10 @@ chmod -R g+rwX "$MONGODB_TMP_DIR" "$MONGODB_LOG_DIR" "$MONGODB_CONF_DIR" "$MONGO render-template "$MONGODB_MONGOD_TEMPLATES_FILE" > "$MONGODB_CONF_FILE" -# Create .dbshell file to avoid error message -touch /.dbshell && chmod g+rw /.dbshell +# Create .dbshell & .mongorc.js file to avoid error message +for f in "${HOME}/.dbshell" "${HOME}/.dbshell"; do + touch "$f" && chmod g+rw "$f" +done chmod g+w "$MONGODB_CONF_FILE" # Redirect all logging to stdout ln -sf /dev/stdout "$MONGODB_LOG_FILE" diff --git a/bitnami/mongodb/README.md b/bitnami/mongodb/README.md index 090a06159720..b2cbfabf84a6 100644 --- a/bitnami/mongodb/README.md +++ b/bitnami/mongodb/README.md @@ -6,7 +6,7 @@ This container ships the official MongoDB Community binaries from MongoDB, Inc a All MongoDB versions released after October 16, 2018 (3.6.9 or later, 4.0.4 or later or 4.1.5 or later) are licensed under the [Server Side Public License](https://www.mongodb.com/licensing/server-side-public-license) that is not currently accepted as a Open Source license by the Open Source Iniciative (OSI). -# TL;DR; +# TL;DR ```console $ docker run --name mongodb bitnami/mongodb:latest @@ -24,8 +24,8 @@ $ docker-compose up -d * Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. * With Bitnami images the latest bug fixes and features are available as soon as possible. * Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs. -* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading linux distribution. -* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DTC)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. +* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution. +* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. * Bitnami container images are released daily with the latest distribution packages available. @@ -47,7 +47,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t * [`4.2-debian-10`, `4.2.8-debian-10-r45`, `4.2`, `4.2.8`, `latest` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.8-debian-10-r45/4.2/debian-10/Dockerfile) -* [`4.0-debian-9`, `4.0.19-debian-9-r2`, `4.0`, `4.0.19` (4.0/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.0.19-debian-9-r2/4.0/debian-9/Dockerfile) +* [`4.0-debian-9`, `4.0.19-debian-9-r3`, `4.0`, `4.0.19` (4.0/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.0.19-debian-9-r3/4.0/debian-9/Dockerfile) * [`3.6-debian-9`, `3.6.19-debian-9-r2`, `3.6`, `3.6.19` (3.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/3.6.19-debian-9-r2/3.6/debian-9/Dockerfile) Subscribe to project updates by watching the [bitnami/mongodb GitHub repo](https://github.com/bitnami/bitnami-docker-mongodb).