diff --git a/bitnami/mariadb/10.10/debian-11/Dockerfile b/bitnami/mariadb/10.10/debian-11/Dockerfile index 2a10d7d08689..32491d643f67 100644 --- a/bitnami/mariadb/10.10/debian-11/Dockerfile +++ b/bitnami/mariadb/10.10/debian-11/Dockerfile @@ -7,10 +7,10 @@ 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-16T19:40:03Z" \ + org.opencontainers.image.created="2024-01-19T23:34:10Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="10.10.7-debian-11-r3" \ + org.opencontainers.image.ref.name="10.10.7-debian-11-r4" \ org.opencontainers.image.title="mariadb" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="10.10.7" @@ -42,6 +42,7 @@ RUN apt-get autoremove --purge -y curl && \ 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 mkdir /docker-entrypoint-initdb.d COPY rootfs / diff --git a/bitnami/mariadb/10.10/debian-11/rootfs/opt/bitnami/scripts/mariadb-env.sh b/bitnami/mariadb/10.10/debian-11/rootfs/opt/bitnami/scripts/mariadb-env.sh index 23c51b1d7340..8f26b75fc70c 100644 --- a/bitnami/mariadb/10.10/debian-11/rootfs/opt/bitnami/scripts/mariadb-env.sh +++ b/bitnami/mariadb/10.10/debian-11/rootfs/opt/bitnami/scripts/mariadb-env.sh @@ -40,6 +40,7 @@ mariadb_env_vars=( MARIADB_REPLICATION_PASSWORD MARIADB_PORT_NUMBER MARIADB_REPLICATION_MODE + MARIADB_REPLICATION_SLAVE_DUMP MARIADB_EXTRA_FLAGS MARIADB_INIT_SLEEP_TIME MARIADB_CHARACTER_SET @@ -133,6 +134,8 @@ export MARIADB_PORT_NUMBER="${MARIADB_PORT_NUMBER:-}" export DB_PORT_NUMBER="$MARIADB_PORT_NUMBER" export MARIADB_REPLICATION_MODE="${MARIADB_REPLICATION_MODE:-}" export DB_REPLICATION_MODE="$MARIADB_REPLICATION_MODE" +export MARIADB_REPLICATION_SLAVE_DUMP="${MARIADB_REPLICATION_SLAVE_DUMP:-false}" +export DB_REPLICATION_SLAVE_DUMP="$MARIADB_REPLICATION_SLAVE_DUMP" export MARIADB_EXTRA_FLAGS="${MARIADB_EXTRA_FLAGS:-}" export DB_EXTRA_FLAGS="$MARIADB_EXTRA_FLAGS" export MARIADB_INIT_SLEEP_TIME="${MARIADB_INIT_SLEEP_TIME:-}"