mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
[bitnami/mongodb-sharded] Release 8.0.10-debian-12-r1 (#81939)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,10 +8,10 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-06-03T22:36:47Z" \
|
||||
org.opencontainers.image.created="2025-06-05T15:14:31Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/mongodb-sharded/README.md" \
|
||||
org.opencontainers.image.ref.name="8.0.10-debian-12-r0" \
|
||||
org.opencontainers.image.ref.name="8.0.10-debian-12-r1" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mongodb-sharded" \
|
||||
org.opencontainers.image.title="mongodb-sharded" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
@@ -32,7 +32,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
"wait-for-port-1.0.8-16-linux-${OS_ARCH}-debian-12" \
|
||||
"render-template-1.0.7-16-linux-${OS_ARCH}-debian-12" \
|
||||
"mongodb-shell-2.5.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mongodb-8.0.10-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mongodb-8.0.10-1-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "8.0.10-0"
|
||||
"version": "8.0.10-1"
|
||||
},
|
||||
"mongodb-shell": {
|
||||
"arch": "amd64",
|
||||
|
||||
26
bitnami/mongodb-sharded/8.0/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/mongodb-sharded/8.0/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
set -eu
|
||||
|
||||
n=0
|
||||
max=2
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get autoremove --purge -y "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -272,7 +272,7 @@ version: '2'
|
||||
|
||||
services:
|
||||
mongos:
|
||||
image: 'bitnami/mongodb-sharded:latest'
|
||||
image: bitnami/mongodb-sharded:latest
|
||||
environment:
|
||||
- MONGODB_SHARDING_MODE=mongos
|
||||
- MONGODB_CFG_PRIMARY_HOST=mongodb-cfg
|
||||
@@ -280,10 +280,10 @@ services:
|
||||
- MONGODB_REPLICA_SET_KEY=replicasetkey123
|
||||
- MONGODB_ROOT_PASSWORD=password123
|
||||
ports:
|
||||
- "27017:27017"
|
||||
- 27017:27017
|
||||
|
||||
mongodb-shard0-primary:
|
||||
image: 'bitnami/mongodb-sharded:latest'
|
||||
image: bitnami/mongodb-sharded:latest
|
||||
environment:
|
||||
- MONGODB_SHARDING_MODE=shardsvr
|
||||
- MONGODB_MONGOS_HOST=mongos
|
||||
@@ -292,10 +292,10 @@ services:
|
||||
- MONGODB_REPLICA_SET_KEY=replicasetkey123
|
||||
- MONGODB_REPLICA_SET_NAME=shard0
|
||||
volumes:
|
||||
- 'shard0_data:/bitnami'
|
||||
- shard0_data:/bitnami
|
||||
|
||||
mongodb-configsvr-primary:
|
||||
image: 'bitnami/mongodb-sharded:latest'
|
||||
image: bitnami/mongodb-sharded:latest
|
||||
environment:
|
||||
- MONGODB_SHARDING_MODE=configsvr
|
||||
- MONGODB_ROOT_PASSWORD=password123
|
||||
@@ -303,7 +303,7 @@ services:
|
||||
- MONGODB_REPLICA_SET_KEY=replicasetkey123
|
||||
- MONGODB_REPLICA_SET_NAME=config-replicaset
|
||||
volumes:
|
||||
- 'cfg_data:/bitnami'
|
||||
- cfg_data:/bitnami
|
||||
|
||||
volumes:
|
||||
shard0_data:
|
||||
|
||||
Reference in New Issue
Block a user