diff --git a/bitnami/mongodb-sharded/6.0/debian-11/Dockerfile b/bitnami/mongodb-sharded/6.0/debian-11/Dockerfile index 52c0919c8b1c..66945da8fd69 100644 --- a/bitnami/mongodb-sharded/6.0/debian-11/Dockerfile +++ b/bitnami/mongodb-sharded/6.0/debian-11/Dockerfile @@ -7,13 +7,13 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-11T15:48:02Z" \ + org.opencontainers.image.created="2024-01-24T10:25:00Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="6.0.12-debian-11-r6" \ + org.opencontainers.image.ref.name="6.0.13-debian-11-r0" \ org.opencontainers.image.title="mongodb-sharded" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="6.0.12" + org.opencontainers.image.version="6.0.13" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -26,11 +26,11 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"] RUN install_packages ca-certificates curl libbrotli1 libcom-err2 libcurl4 libffi7 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libnettle8 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libtasn1-6 libunistring2 numactl procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "mongodb-shell-2.1.1-0-linux-${OS_ARCH}-debian-11" \ "yq-4.40.5-1-linux-${OS_ARCH}-debian-11" \ "wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \ "render-template-1.0.6-5-linux-${OS_ARCH}-debian-11" \ - "mongodb-6.0.12-2-linux-${OS_ARCH}-debian-11" \ + "mongodb-shell-2.1.1-0-linux-${OS_ARCH}-debian-11" \ + "mongodb-6.0.13-0-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -44,15 +44,16 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ RUN apt-get update && apt-get upgrade -y && \ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami +RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true RUN ln -s /opt/bitnami/scripts/mongodb-sharded/entrypoint.sh /entrypoint.sh RUN ln -s /opt/bitnami/scripts/liblog.sh /liblog.sh RUN ln -s /opt/bitnami/scripts/mongodb-sharded/run.sh /run.sh COPY rootfs / RUN /opt/bitnami/scripts/mongodb-sharded/postunpack.sh -ENV APP_VERSION="6.0.12" \ +ENV APP_VERSION="6.0.13" \ BITNAMI_APP_NAME="mongodb-sharded" \ - PATH="/opt/bitnami/mongodb/bin:/opt/bitnami/common/bin:$PATH" + PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH" EXPOSE 27017 diff --git a/bitnami/mongodb-sharded/6.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/mongodb-sharded/6.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 3fb9261bbf03..ec9e16782272 100644 --- a/bitnami/mongodb-sharded/6.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/mongodb-sharded/6.0/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,7 +3,7 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "6.0.12-2" + "version": "6.0.13-0" }, "mongodb-shell": { "arch": "amd64", diff --git a/bitnami/mongodb-sharded/6.0/debian-11/rootfs/opt/bitnami/scripts/libmongodb.sh b/bitnami/mongodb-sharded/6.0/debian-11/rootfs/opt/bitnami/scripts/libmongodb.sh index 9f18d67751cb..7a6b5c08647b 100644 --- a/bitnami/mongodb-sharded/6.0/debian-11/rootfs/opt/bitnami/scripts/libmongodb.sh +++ b/bitnami/mongodb-sharded/6.0/debian-11/rootfs/opt/bitnami/scripts/libmongodb.sh @@ -1278,7 +1278,7 @@ mongodb_wait_until_sync_complete() { info "Waiting until initial data sync is complete..." if ! retry_while "mongodb_is_not_in_sync" "$MONGODB_INIT_RETRY_ATTEMPTS" "$MONGODB_INIT_RETRY_DELAY" 1; then - error "Initial data sync did not finish after $MONGODB_MAX_TIMEOUT seconds" + error "Initial data sync did not finish after $((MONGODB_INIT_RETRY_ATTEMPTS * MONGODB_INIT_RETRY_DELAY)) seconds" exit 1 else info "initial data sync completed" diff --git a/bitnami/mongodb-sharded/6.0/debian-11/tags-info.yaml b/bitnami/mongodb-sharded/6.0/debian-11/tags-info.yaml index 2c3a94ad9620..bfd510b6836b 100644 --- a/bitnami/mongodb-sharded/6.0/debian-11/tags-info.yaml +++ b/bitnami/mongodb-sharded/6.0/debian-11/tags-info.yaml @@ -1,4 +1,4 @@ rolling-tags: - "6.0" - 6.0-debian-11 -- 6.0.12 +- 6.0.13 diff --git a/bitnami/mongodb-sharded/README.md b/bitnami/mongodb-sharded/README.md index 135918b4f65c..0c486c8e5a1a 100644 --- a/bitnami/mongodb-sharded/README.md +++ b/bitnami/mongodb-sharded/README.md @@ -13,13 +13,6 @@ Disclaimer: The respective trademarks mentioned in the offering are owned by the docker run --name mongodb bitnami/mongodb-sharded:latest ``` -### Docker Compose - -```console -curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/mongodb-sharded/docker-compose.yml > docker-compose.yml -docker-compose up -d -``` - ## Why use Bitnami Images? * Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. @@ -381,6 +374,12 @@ docker-compose up mongodb-sharded * `3.6.16-centos-7-r49`, `4.0.14-centos-7-r29`, and `4.2.2-centos-7-r41` are considered the latest images based on CentOS. * Standard supported distros: Debian & OEL. +## Using `docker-compose.yaml` + +Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/mongodb-sharded). + +If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md). + ## Contributing We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.