Skip to content

Commit

Permalink
Install rocksdb plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ifel committed Jul 12, 2023
1 parent fbb2d9a commit 4d051b4
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 10 deletions.
4 changes: 3 additions & 1 deletion 10.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 10.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 10.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 10.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 10.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 10.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 11.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 11.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion 11.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 4d051b4

Please sign in to comment.