diff --git a/10.10/Dockerfile b/10.10/Dockerfile index 1e591527..e6a8fc4d 100644 --- a/10.10/Dockerfile +++ b/10.10/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/10.11/Dockerfile b/10.11/Dockerfile index b7d8a8d4..832df86e 100644 --- a/10.11/Dockerfile +++ b/10.11/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/10.4/Dockerfile b/10.4/Dockerfile index 9e04ecf2..a12a372d 100644 --- a/10.4/Dockerfile +++ b/10.4/Dockerfile @@ -112,8 +112,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/10.5/Dockerfile b/10.5/Dockerfile index 7c83f400..3ff897d9 100644 --- a/10.5/Dockerfile +++ b/10.5/Dockerfile @@ -112,8 +112,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/10.6/Dockerfile b/10.6/Dockerfile index b142f1e8..009fbe34 100644 --- a/10.6/Dockerfile +++ b/10.6/Dockerfile @@ -112,8 +112,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/10.9/Dockerfile b/10.9/Dockerfile index 69cbdbc6..e50c4548 100644 --- a/10.9/Dockerfile +++ b/10.9/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/11.0/Dockerfile b/11.0/Dockerfile index 5b2637d9..f428d5a2 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/11.1/Dockerfile b/11.1/Dockerfile index 18eae01b..75588e61 100644 --- a/11.1/Dockerfile +++ b/11.1/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/11.2/Dockerfile b/11.2/Dockerfile index e9680721..247ee492 100644 --- a/11.2/Dockerfile +++ b/11.2/Dockerfile @@ -110,8 +110,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \ diff --git a/Dockerfile.template b/Dockerfile.template index 73628762..447d8da4 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -112,8 +112,10 @@ RUN set -ex; \ # postinst script creates a datadir, so avoid creating it by faking its existance. mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \ # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos - apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \ +# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled + apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \ ; \ + rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \ rm -rf /var/lib/apt/lists/*; \ # purge and re-create /var/lib/mysql with appropriate ownership rm -rf /var/lib/mysql; \