4.2.16-debian-10-r4 release

This commit is contained in:
Bitnami Bot 2021-09-14 11:14:50 +00:00
parent 92bcb69bea
commit 5a4b0316e8
4 changed files with 6 additions and 5 deletions

View File

@ -22,7 +22,7 @@ RUN ln -s /opt/bitnami/scripts/mongodb-sharded/run.sh /run.sh
COPY rootfs /
RUN /opt/bitnami/scripts/mongodb-sharded/postunpack.sh
ENV BITNAMI_APP_NAME="mongodb-sharded" \
BITNAMI_IMAGE_VERSION="4.2.16-debian-10-r3" \
BITNAMI_IMAGE_VERSION="4.2.16-debian-10-r4" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/mongodb/bin:$PATH"
EXPOSE 27017

View File

@ -215,13 +215,13 @@ mongodb_start_bg() {
is_mongodb_running && return
if am_i_root; then
if [ "${MONGODB_ENABLE_NUMACTL}" = true ]; then
if is_boolean_yes "$MONGODB_ENABLE_NUMACTL"; then
debug_execute gosu "$MONGODB_DAEMON_USER" numactl --interleave=all "$MONGODB_BIN_DIR/mongod" "${flags[@]}"
else
debug_execute gosu "$MONGODB_DAEMON_USER" "$MONGODB_BIN_DIR/mongod" "${flags[@]}"
fi
else
if [ "${MONGODB_ENABLE_NUMACTL}" = true ]; then
if is_boolean_yes "$MONGODB_ENABLE_NUMACTL"; then
debug_execute numactl --interleave=all "$MONGODB_BIN_DIR/mongod" "${flags[@]}"
else
debug_execute "$MONGODB_BIN_DIR/mongod" "${flags[@]}"

View File

@ -36,6 +36,7 @@ mongodb_env_vars=(
MONGODB_ENABLE_DIRECTORY_PER_DB
MONGODB_ENABLE_IPV6
MONGODB_SYSTEM_LOG_VERBOSITY
MONGODB_ROOT_USER
MONGODB_ROOT_PASSWORD
MONGODB_USERNAME
MONGODB_PASSWORD
@ -119,7 +120,7 @@ export MONGODB_SYSTEM_LOG_VERBOSITY="${MONGODB_SYSTEM_LOG_VERBOSITY:-}"
export MONGODB_DEFAULT_SYSTEM_LOG_VERBOSITY="0"
# User and database creation settings
export MONGODB_ROOT_USER="root"
export MONGODB_ROOT_USER="${MONGODB_ROOT_USER:-root}"
export MONGODB_ROOT_PASSWORD="${MONGODB_ROOT_PASSWORD:-}"
export MONGODB_USERNAME="${MONGODB_USERNAME:-}"
export MONGODB_PASSWORD="${MONGODB_PASSWORD:-}"

View File

@ -50,7 +50,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`5.0`, `5.0-debian-10`, `5.0.2`, `5.0.2-debian-10-r14` (5.0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/5.0.2-debian-10-r14/5.0/debian-10/Dockerfile)
* [`4.4`, `4.4-debian-10`, `4.4.8`, `4.4.8-debian-10-r45`, `latest` (4.4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.4.8-debian-10-r45/4.4/debian-10/Dockerfile)
* [`4.2`, `4.2-debian-10`, `4.2.16`, `4.2.16-debian-10-r3` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.16-debian-10-r3/4.2/debian-10/Dockerfile)
* [`4.2`, `4.2-debian-10`, `4.2.16`, `4.2.16-debian-10-r4` (4.2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.2.16-debian-10-r4/4.2/debian-10/Dockerfile)
* [`4.0`, `4.0-debian-9`, `4.0.27`, `4.0.27-debian-9-r5` (4.0/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/4.0.27-debian-9-r5/4.0/debian-9/Dockerfile)
* [`3.6`, `3.6-debian-9`, `3.6.23`, `3.6.23-debian-9-r162` (3.6/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-mongodb/blob/3.6.23-debian-9-r162/3.6/debian-9/Dockerfile)