mirror of
https://github.com/bitnami/containers.git
synced 2026-10-19 18:54:57 +02:00
[bitnami/mongodb] Release 6.0.9-debian-11-r0 (#46085)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -7,13 +7,13 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||||
org.opencontainers.image.created="2023-08-03T05:59:47Z" \
|
org.opencontainers.image.created="2023-08-25T13:37:20Z" \
|
||||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||||
org.opencontainers.image.licenses="Apache-2.0" \
|
org.opencontainers.image.licenses="Apache-2.0" \
|
||||||
org.opencontainers.image.ref.name="6.0.8-debian-11-r20" \
|
org.opencontainers.image.ref.name="6.0.9-debian-11-r0" \
|
||||||
org.opencontainers.image.title="mongodb" \
|
org.opencontainers.image.title="mongodb" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
org.opencontainers.image.version="6.0.8"
|
org.opencontainers.image.version="6.0.9"
|
||||||
|
|
||||||
ENV HOME="/" \
|
ENV HOME="/" \
|
||||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||||
@@ -26,11 +26,11 @@ SHELL ["/bin/bash", "-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 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/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"mongodb-shell-1.10.3-0-linux-${OS_ARCH}-debian-11" \
|
"mongodb-shell-1.10.6-0-linux-${OS_ARCH}-debian-11" \
|
||||||
"yq-4.34.2-1-linux-${OS_ARCH}-debian-11" \
|
"yq-4.35.1-0-linux-${OS_ARCH}-debian-11" \
|
||||||
"wait-for-port-1.0.6-11-linux-${OS_ARCH}-debian-11" \
|
"wait-for-port-1.0.6-13-linux-${OS_ARCH}-debian-11" \
|
||||||
"render-template-1.0.5-10-linux-${OS_ARCH}-debian-11" \
|
"render-template-1.0.5-13-linux-${OS_ARCH}-debian-11" \
|
||||||
"mongodb-6.0.8-1-linux-${OS_ARCH}-debian-11" \
|
"mongodb-6.0.9-0-linux-${OS_ARCH}-debian-11" \
|
||||||
) && \
|
) && \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||||
@@ -48,7 +48,7 @@ RUN chmod g+rwX /opt/bitnami
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
RUN /opt/bitnami/scripts/mongodb/postunpack.sh
|
RUN /opt/bitnami/scripts/mongodb/postunpack.sh
|
||||||
ENV APP_VERSION="6.0.8" \
|
ENV APP_VERSION="6.0.9" \
|
||||||
BITNAMI_APP_NAME="mongodb" \
|
BITNAMI_APP_NAME="mongodb" \
|
||||||
PATH="/opt/bitnami/mongodb/bin:/opt/bitnami/common/bin:$PATH"
|
PATH="/opt/bitnami/mongodb/bin:/opt/bitnami/common/bin:$PATH"
|
||||||
|
|
||||||
|
|||||||
@@ -3,30 +3,30 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "6.0.8-1"
|
"version": "6.0.9-0"
|
||||||
},
|
},
|
||||||
"mongodb-shell": {
|
"mongodb-shell": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.10.3-0"
|
"version": "1.10.6-0"
|
||||||
},
|
},
|
||||||
"render-template": {
|
"render-template": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.0.5-10"
|
"version": "1.0.5-13"
|
||||||
},
|
},
|
||||||
"wait-for-port": {
|
"wait-for-port": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.0.6-11"
|
"version": "1.0.6-13"
|
||||||
},
|
},
|
||||||
"yq": {
|
"yq": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "4.34.2-1"
|
"version": "4.35.1-0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1397,6 +1397,14 @@ mongodb_initialize() {
|
|||||||
mongodb_set_storage_conf "$MONGODB_CONF_FILE"
|
mongodb_set_storage_conf "$MONGODB_CONF_FILE"
|
||||||
is_boolean_yes "$MONGODB_DISABLE_JAVASCRIPT" && mongodb_disable_javascript_conf "$MONGODB_CONF_FILE"
|
is_boolean_yes "$MONGODB_DISABLE_JAVASCRIPT" && mongodb_disable_javascript_conf "$MONGODB_CONF_FILE"
|
||||||
|
|
||||||
|
# Create the ReplicaSet keyFile before Mongo starts in case it is referenced in the $MONGODB_CONF_FILE
|
||||||
|
if [[ -n "$MONGODB_REPLICA_SET_MODE" ]]; then
|
||||||
|
if [[ -n "$MONGODB_REPLICA_SET_KEY" ]]; then
|
||||||
|
mongodb_create_keyfile "$MONGODB_REPLICA_SET_KEY"
|
||||||
|
mongodb_set_keyfile_conf "$MONGODB_CONF_FILE"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if is_dir_empty "$MONGODB_DATA_DIR/db"; then
|
if is_dir_empty "$MONGODB_DATA_DIR/db"; then
|
||||||
info "Deploying MongoDB from scratch..."
|
info "Deploying MongoDB from scratch..."
|
||||||
ensure_dir_exists "$MONGODB_DATA_DIR/db"
|
ensure_dir_exists "$MONGODB_DATA_DIR/db"
|
||||||
@@ -1405,10 +1413,6 @@ mongodb_initialize() {
|
|||||||
mongodb_start_bg "$MONGODB_CONF_FILE"
|
mongodb_start_bg "$MONGODB_CONF_FILE"
|
||||||
mongodb_create_users
|
mongodb_create_users
|
||||||
if [[ -n "$MONGODB_REPLICA_SET_MODE" ]]; then
|
if [[ -n "$MONGODB_REPLICA_SET_MODE" ]]; then
|
||||||
if [[ -n "$MONGODB_REPLICA_SET_KEY" ]]; then
|
|
||||||
mongodb_create_keyfile "$MONGODB_REPLICA_SET_KEY"
|
|
||||||
mongodb_set_keyfile_conf "$MONGODB_CONF_FILE"
|
|
||||||
fi
|
|
||||||
mongodb_set_replicasetmode_conf "$MONGODB_CONF_FILE"
|
mongodb_set_replicasetmode_conf "$MONGODB_CONF_FILE"
|
||||||
mongodb_set_listen_all_conf "$MONGODB_CONF_FILE"
|
mongodb_set_listen_all_conf "$MONGODB_CONF_FILE"
|
||||||
mongodb_configure_replica_set
|
mongodb_configure_replica_set
|
||||||
@@ -1419,10 +1423,6 @@ mongodb_initialize() {
|
|||||||
mongodb_set_auth_conf "$MONGODB_CONF_FILE"
|
mongodb_set_auth_conf "$MONGODB_CONF_FILE"
|
||||||
info "Deploying MongoDB with persisted data..."
|
info "Deploying MongoDB with persisted data..."
|
||||||
if [[ -n "$MONGODB_REPLICA_SET_MODE" ]]; then
|
if [[ -n "$MONGODB_REPLICA_SET_MODE" ]]; then
|
||||||
if [[ -n "$MONGODB_REPLICA_SET_KEY" ]]; then
|
|
||||||
mongodb_create_keyfile "$MONGODB_REPLICA_SET_KEY"
|
|
||||||
mongodb_set_keyfile_conf "$MONGODB_CONF_FILE"
|
|
||||||
fi
|
|
||||||
if [[ "$MONGODB_REPLICA_SET_MODE" = "dynamic" ]]; then
|
if [[ "$MONGODB_REPLICA_SET_MODE" = "dynamic" ]]; then
|
||||||
mongodb_ensure_dynamic_mode_consistency
|
mongodb_ensure_dynamic_mode_consistency
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
rolling-tags:
|
rolling-tags:
|
||||||
- "6.0"
|
- "6.0"
|
||||||
- 6.0-debian-11
|
- 6.0-debian-11
|
||||||
- 6.0.8
|
- 6.0.9
|
||||||
- latest
|
- latest
|
||||||
|
|||||||
Reference in New Issue
Block a user