Skip to content

Commit 4d051b4

Browse files
committed
Install rocksdb plugin
1 parent fbb2d9a commit 4d051b4

File tree

10 files changed

+30
-10
lines changed

10 files changed

+30
-10
lines changed

10.10/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

10.11/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

10.4/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ RUN set -ex; \
112112
# postinst script creates a datadir, so avoid creating it by faking its existance.
113113
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
114114
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
115-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
115+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
116+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
116117
; \
118+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
117119
rm -rf /var/lib/apt/lists/*; \
118120
# purge and re-create /var/lib/mysql with appropriate ownership
119121
rm -rf /var/lib/mysql; \

10.5/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ RUN set -ex; \
112112
# postinst script creates a datadir, so avoid creating it by faking its existance.
113113
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
114114
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
115-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
115+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
116+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
116117
; \
118+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
117119
rm -rf /var/lib/apt/lists/*; \
118120
# purge and re-create /var/lib/mysql with appropriate ownership
119121
rm -rf /var/lib/mysql; \

10.6/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ RUN set -ex; \
112112
# postinst script creates a datadir, so avoid creating it by faking its existance.
113113
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
114114
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
115-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
115+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
116+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
116117
; \
118+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
117119
rm -rf /var/lib/apt/lists/*; \
118120
# purge and re-create /var/lib/mysql with appropriate ownership
119121
rm -rf /var/lib/mysql; \

10.9/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

11.0/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

11.1/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

11.2/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ RUN set -ex; \
110110
# postinst script creates a datadir, so avoid creating it by faking its existance.
111111
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
112112
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
113-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
113+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
114+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
114115
; \
116+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
115117
rm -rf /var/lib/apt/lists/*; \
116118
# purge and re-create /var/lib/mysql with appropriate ownership
117119
rm -rf /var/lib/mysql; \

Dockerfile.template

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ RUN set -ex; \
112112
# postinst script creates a datadir, so avoid creating it by faking its existance.
113113
mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; \
114114
# mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
115-
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
115+
# mariadb-plugin-rocksdb gets installed, and plugin auto loading gets disabled
116+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup mariadb-plugin-rocksdb socat \
116117
; \
118+
rm -f /etc/mysql/mariadb.conf.d/rocksdb.cnf; \
117119
rm -rf /var/lib/apt/lists/*; \
118120
# purge and re-create /var/lib/mysql with appropriate ownership
119121
rm -rf /var/lib/mysql; \

0 commit comments

Comments
 (0)