Skip to content

Commit 60f2065

Browse files
committed
13.0 branch doesn't have mariadb-server-galera yet
1 parent 9106f95 commit 60f2065

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

13.0-ubi/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ RUN set -eux ; \
9393
microdnf install --enablerepo=epel --disablerepo=mariadb --releasever=10.1 -y procps-ng zstd xz gzip tar jemalloc gperftools-libs pwgen pv util-linux-core ; \
9494
mkdir -p /etc/mysql/conf.d /etc/mysql/mariadb.conf.d/ /var/lib/mysql/mysql /run/mariadb /usr/lib64/galera ; \
9595
chmod ugo+rwx,o+t /run/mariadb ; \
96-
microdnf install -y MariaDB-backup-${MARIADB_VERSION} MariaDB-server-galera-${MARIADB_VERSION} ; \
96+
microdnf install -y MariaDB-backup-${MARIADB_VERSION} MariaDB-server-${MARIADB_VERSION} ; \
9797
# compatibility with DEB Galera packaging
9898
ln -s /usr/lib64/galera-4/libgalera_smm.so /usr/lib/libgalera_smm.so ; \
9999
# compatibility with RPM Galera packaging

13.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ RUN set -ex; \
112112
# postinst script creates a datadir, so avoid creating it by faking its existence.
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-galera="$MARIADB_VERSION" mariadb-backup socat \
115+
apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat \
116116
; \
117117
rm -rf /var/lib/apt/lists/*; \
118118
# purge and re-create /var/lib/mysql with appropriate ownership

update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ ENV MARIADB_MAJOR $MARIADB_MAJOR
156156
sed -i -e 's/-galera//' \
157157
"$dir/Dockerfile"
158158
;;
159+
13.0*) # TMP main to 13.0 merge has't happened. Don't break quay.io builds
160+
sed -i -e 's/-galera//' \
161+
"$dir/Dockerfile"
162+
;;
159163
*)
160164
;&
161165
esac

0 commit comments

Comments
 (0)