Skip to content

mariadb: 12.3.2 (stable + LTS) + 13.0.1 (RC), 12.2EOL release - #21570

Merged
yosifkit merged 1 commit into
docker-library:masterfrom
grooverdan:2026q2_new_release
Jun 1, 2026
Merged

mariadb: 12.3.2 (stable + LTS) + 13.0.1 (RC), 12.2EOL release#21570
yosifkit merged 1 commit into
docker-library:masterfrom
grooverdan:2026q2_new_release

Conversation

@grooverdan

Copy link
Copy Markdown
Contributor

@grooverdan
grooverdan requested a review from a team as a code owner June 1, 2026 02:30
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Diff for b743b53:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 14d7f58..fce1c3c 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -32,32 +32,32 @@ Architectures: amd64, arm64v8, ppc64le, s390x
 GitCommit: 53935c78b82bff912b361357d59db11d7246ea96
 Directory: 11.4-ubi
 
-Tags: 11.8.8-noble, 11.8-noble, 11-noble, lts-noble, 11.8.8, 11.8, 11, lts
+Tags: 11.8.8-noble, 11.8-noble, 11-noble, 11.8.8, 11.8, 11
 Architectures: amd64, arm64v8, ppc64le, s390x
 GitCommit: 53935c78b82bff912b361357d59db11d7246ea96
 Directory: 11.8
 
-Tags: 11.8.8-ubi9, 11.8-ubi9, 11-ubi9, lts-ubi9, 11.8.8-ubi, 11.8-ubi, 11-ubi, lts-ubi
+Tags: 11.8.8-ubi9, 11.8-ubi9, 11-ubi9, 11.8.8-ubi, 11.8-ubi, 11-ubi
 Architectures: amd64, arm64v8, ppc64le, s390x
 GitCommit: 53935c78b82bff912b361357d59db11d7246ea96
 Directory: 11.8-ubi
 
-Tags: 12.2.2-noble, 12.2-noble, 12-noble, noble, 12.2.2, 12.2, 12, latest
+Tags: 12.3.2-noble, 12.3-noble, 12-noble, noble, lts-noble, 12.3.2, 12.3, 12, latest, lts
 Architectures: amd64, arm64v8, ppc64le, s390x
-GitCommit: 1b6429ba3544e134715c15f8c56cc6f665f827c9
-Directory: 12.2
+GitCommit: af9b72baa083d6c40b2e0741ec65fd74adacde68
+Directory: 12.3
 
-Tags: 12.2.2-ubi10, 12.2-ubi10, 12-ubi10, 12.2.2-ubi, 12.2-ubi, 12-ubi
+Tags: 12.3.2-ubi10, 12.3-ubi10, 12-ubi10, lts-ubi10, 12.3.2-ubi, 12.3-ubi, 12-ubi, lts-ubi
 Architectures: amd64, arm64v8, ppc64le, s390x
-GitCommit: 1b6429ba3544e134715c15f8c56cc6f665f827c9
-Directory: 12.2-ubi
+GitCommit: f8552c80b5104868ff1bb88851ca976bd99029ee
+Directory: 12.3-ubi
 
-Tags: 12.3.1-noble-rc, 12.3-noble-rc, 12.3.1-rc, 12.3-rc
+Tags: 13.0.1-resolute-rc, 13.0-resolute-rc, 13.0.1-rc, 13.0-rc
 Architectures: amd64, arm64v8, ppc64le, s390x
-GitCommit: 1b6429ba3544e134715c15f8c56cc6f665f827c9
-Directory: 12.3
+GitCommit: af9b72baa083d6c40b2e0741ec65fd74adacde68
+Directory: 13.0
 
-Tags: 12.3.1-ubi10-rc, 12.3-ubi10-rc, 12.3.1-ubi-rc, 12.3-ubi-rc
+Tags: 13.0.1-ubi10-rc, 13.0-ubi10-rc, 13.0.1-ubi-rc, 13.0-ubi-rc
 Architectures: amd64, arm64v8, ppc64le, s390x
-GitCommit: 53935c78b82bff912b361357d59db11d7246ea96
-Directory: 12.3-ubi
+GitCommit: f8552c80b5104868ff1bb88851ca976bd99029ee
+Directory: 13.0-ubi
diff --git a/_bashbrew-list b/_bashbrew-list
index c61c51f..acec987 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -42,25 +42,25 @@ mariadb:12
 mariadb:12-noble
 mariadb:12-ubi
 mariadb:12-ubi10
-mariadb:12.2
-mariadb:12.2-noble
-mariadb:12.2-ubi
-mariadb:12.2-ubi10
-mariadb:12.2.2
-mariadb:12.2.2-noble
-mariadb:12.2.2-ubi
-mariadb:12.2.2-ubi10
-mariadb:12.3-noble-rc
-mariadb:12.3-rc
-mariadb:12.3-ubi10-rc
-mariadb:12.3-ubi-rc
-mariadb:12.3.1-noble-rc
-mariadb:12.3.1-rc
-mariadb:12.3.1-ubi10-rc
-mariadb:12.3.1-ubi-rc
+mariadb:12.3
+mariadb:12.3-noble
+mariadb:12.3-ubi
+mariadb:12.3-ubi10
+mariadb:12.3.2
+mariadb:12.3.2-noble
+mariadb:12.3.2-ubi
+mariadb:12.3.2-ubi10
+mariadb:13.0-rc
+mariadb:13.0-resolute-rc
+mariadb:13.0-ubi10-rc
+mariadb:13.0-ubi-rc
+mariadb:13.0.1-rc
+mariadb:13.0.1-resolute-rc
+mariadb:13.0.1-ubi10-rc
+mariadb:13.0.1-ubi-rc
 mariadb:latest
 mariadb:lts
 mariadb:lts-noble
 mariadb:lts-ubi
-mariadb:lts-ubi9
+mariadb:lts-ubi10
 mariadb:noble
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index 253955b..ba2f3ff 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -2,11 +2,11 @@ mariadb:10
 mariadb:10-ubi
 mariadb:10.6
 mariadb:10.6-ubi
+mariadb:11
+mariadb:11-ubi
 mariadb:11.4
 mariadb:11.4-ubi
-mariadb:12-ubi
-mariadb:12.3-rc
-mariadb:12.3-ubi-rc
-mariadb:latest
+mariadb:13.0-rc
+mariadb:13.0-ubi-rc
 mariadb:lts
 mariadb:lts-ubi
diff --git a/mariadb_lts-ubi/Dockerfile b/mariadb_11-ubi/Dockerfile
similarity index 100%
copy from mariadb_lts-ubi/Dockerfile
copy to mariadb_11-ubi/Dockerfile
diff --git a/mariadb_lts-ubi/MariaDB.repo b/mariadb_11-ubi/MariaDB.repo
similarity index 100%
copy from mariadb_lts-ubi/MariaDB.repo
copy to mariadb_11-ubi/MariaDB.repo
diff --git a/mariadb_lts-ubi/docker-entrypoint.sh b/mariadb_11-ubi/docker-entrypoint.sh
similarity index 100%
copy from mariadb_lts-ubi/docker-entrypoint.sh
copy to mariadb_11-ubi/docker-entrypoint.sh
diff --git a/mariadb_12-ubi/docker.cnf b/mariadb_11-ubi/docker.cnf
similarity index 100%
rename from mariadb_12-ubi/docker.cnf
rename to mariadb_11-ubi/docker.cnf
diff --git a/mariadb_12-ubi/healthcheck.sh b/mariadb_11-ubi/healthcheck.sh
similarity index 100%
rename from mariadb_12-ubi/healthcheck.sh
rename to mariadb_11-ubi/healthcheck.sh
diff --git a/mariadb_lts/Dockerfile b/mariadb_11/Dockerfile
similarity index 100%
copy from mariadb_lts/Dockerfile
copy to mariadb_11/Dockerfile
diff --git a/mariadb_lts-ubi/docker-entrypoint.sh b/mariadb_11/docker-entrypoint.sh
similarity index 100%
copy from mariadb_lts-ubi/docker-entrypoint.sh
copy to mariadb_11/docker-entrypoint.sh
diff --git a/mariadb_12.3-rc/healthcheck.sh b/mariadb_11/healthcheck.sh
similarity index 100%
rename from mariadb_12.3-rc/healthcheck.sh
rename to mariadb_11/healthcheck.sh
diff --git a/mariadb_12-ubi/MariaDB.repo b/mariadb_12-ubi/MariaDB.repo
deleted file mode 100644
index 0c61ce1..0000000
diff --git a/mariadb_12.3-rc/Dockerfile b/mariadb_12.3-rc/Dockerfile
deleted file mode 100644
index e86384d..0000000
diff --git a/mariadb_12.3-rc/docker-entrypoint.sh b/mariadb_12.3-rc/docker-entrypoint.sh
deleted file mode 100755
index e4e20c0..0000000
diff --git a/mariadb_12.3-ubi-rc/Dockerfile b/mariadb_12.3-ubi-rc/Dockerfile
deleted file mode 100644
index ec93ff6..0000000
diff --git a/mariadb_latest/Dockerfile b/mariadb_13.0-rc/Dockerfile
similarity index 94%
rename from mariadb_latest/Dockerfile
rename to mariadb_13.0-rc/Dockerfile
index 536c66f..33d9be7 100644
--- a/mariadb_latest/Dockerfile
+++ b/mariadb_13.0-rc/Dockerfile
@@ -1,5 +1,5 @@
 # vim:set ft=dockerfile:
-FROM ubuntu:noble
+FROM ubuntu:resolute
 
 # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
 RUN groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql && userdel --remove ubuntu
@@ -73,22 +73,22 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
       org.opencontainers.image.title="MariaDB Database" \
       org.opencontainers.image.description="MariaDB Database for relational SQL" \
       org.opencontainers.image.documentation="https://hub.docker.com/_/mariadb/" \
-      org.opencontainers.image.base.name="docker.io/library/ubuntu:noble" \
+      org.opencontainers.image.base.name="docker.io/library/ubuntu:resolute" \
       org.opencontainers.image.licenses="GPL-2.0" \
       org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
       org.opencontainers.image.vendor="MariaDB Community" \
-      org.opencontainers.image.version="12.2.2" \
+      org.opencontainers.image.version="13.0.1" \
       org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
 
 # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
-ARG MARIADB_VERSION=1:12.2.2+maria~ubu2404
+ARG MARIADB_VERSION=1:13.0.1+maria~ubu2604
 ENV MARIADB_VERSION $MARIADB_VERSION
-# release-status:Stable
+# release-status:RC
 # release-support-type:Rolling
 # (https://downloads.mariadb.org/rest-api/mariadb/)
 
 # Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions
-ARG REPOSITORY="http://archive.mariadb.org/mariadb-12.2.2/repo/ubuntu/ noble main main/debug"
+ARG REPOSITORY="http://archive.mariadb.org/mariadb-13.0.1/repo/ubuntu/ resolute main main/debug"
 
 RUN set -e;\
 	echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; \
@@ -112,7 +112,7 @@ RUN set -ex; \
 # postinst script creates a datadir, so avoid creating it by faking its existence.
 	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 \
+	apt-get install -y --no-install-recommends mariadb-server-galera="$MARIADB_VERSION" mariadb-backup socat \
 	; \
 	rm -rf /var/lib/apt/lists/*; \
 # purge and re-create /var/lib/mysql with appropriate ownership
diff --git a/mariadb_12.3-ubi-rc/docker-entrypoint.sh b/mariadb_13.0-rc/docker-entrypoint.sh
similarity index 99%
rename from mariadb_12.3-ubi-rc/docker-entrypoint.sh
rename to mariadb_13.0-rc/docker-entrypoint.sh
index e4e20c0..a5fe9df 100755
--- a/mariadb_12.3-ubi-rc/docker-entrypoint.sh
+++ b/mariadb_13.0-rc/docker-entrypoint.sh
@@ -225,7 +225,7 @@ docker_create_db_directories() {
 }
 
 _mariadb_version() {
-	echo -n "12.3.1-MariaDB"
+	echo -n "13.0.1-MariaDB"
 }
 
 # initializes the database directory
diff --git a/mariadb_12.3-ubi-rc/healthcheck.sh b/mariadb_13.0-rc/healthcheck.sh
similarity index 100%
rename from mariadb_12.3-ubi-rc/healthcheck.sh
rename to mariadb_13.0-rc/healthcheck.sh
diff --git a/mariadb_12-ubi/Dockerfile b/mariadb_13.0-ubi-rc/Dockerfile
similarity index 94%
rename from mariadb_12-ubi/Dockerfile
rename to mariadb_13.0-ubi-rc/Dockerfile
index 425b4c4..71eadf6 100644
--- a/mariadb_12-ubi/Dockerfile
+++ b/mariadb_13.0-ubi-rc/Dockerfile
@@ -42,7 +42,7 @@ COPY MariaDB.repo /etc/yum.repos.d/
 # https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
 LABEL name="MariaDB Server" \
 	vendor="MariaDB Community" \
-	version="12.2.2" \
+	version="13.0.1" \
 	release="Refer to Annotations org.opencontainers.image.{revision,source}" \
 	summary="MariaDB Database" \
 	description="MariaDB Database for relational SQL"
@@ -56,13 +56,13 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
       org.opencontainers.image.licenses="GPL-2.0" \
       org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
       org.opencontainers.image.vendor="MariaDB Community" \
-      org.opencontainers.image.version="12.2.2" \
+      org.opencontainers.image.version="13.0.1" \
       org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
 
 # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
-ARG MARIADB_VERSION=12.2.2
+ARG MARIADB_VERSION=13.0.1
 ENV MARIADB_VERSION=$MARIADB_VERSION
-# release-status:Stable
+# release-status:RC
 # release-support-type:Rolling
 # (https://downloads.mariadb.org/rest-api/mariadb/)
 
@@ -93,7 +93,9 @@ RUN set -eux ; \
 	microdnf install --enablerepo=epel --disablerepo=mariadb --releasever=10.1 -y procps-ng zstd xz gzip tar jemalloc gperftools-libs pwgen pv util-linux-core ; \
 	mkdir -p /etc/mysql/conf.d /etc/mysql/mariadb.conf.d/ /var/lib/mysql/mysql /run/mariadb /usr/lib64/galera ; \
 	chmod ugo+rwx,o+t /run/mariadb ; \
-	microdnf install -y MariaDB-backup-${MARIADB_VERSION}  MariaDB-server-${MARIADB_VERSION} ; \
+	microdnf install -y MariaDB-backup-${MARIADB_VERSION}  MariaDB-server-galera-${MARIADB_VERSION} ; \
+	# MDEV-39803 RPM dependencies missing from MariaDB-server-galera package
+	microdnf install -y galera-4 rsync grep gawk iproute coreutils-single findutils tar lsof socat; \
 	# compatibility with DEB Galera packaging
 	ln -s /usr/lib64/galera-4/libgalera_smm.so /usr/lib/libgalera_smm.so ; \
 	# compatibility with RPM Galera packaging
diff --git a/mariadb_12.3-ubi-rc/MariaDB.repo b/mariadb_13.0-ubi-rc/MariaDB.repo
similarity index 58%
rename from mariadb_12.3-ubi-rc/MariaDB.repo
rename to mariadb_13.0-ubi-rc/MariaDB.repo
index 0b886d0..a021d11 100644
--- a/mariadb_12.3-ubi-rc/MariaDB.repo
+++ b/mariadb_13.0-ubi-rc/MariaDB.repo
@@ -1,7 +1,7 @@
 [mariadb]
 name = MariaDB
-#baseurl = https://rpm.mariadb.org/12.3/rhel/$releasever/$basearch
-baseurl = https://archive.mariadb.org/mariadb-12.3/yum/rhel/$releasever/$basearch
+#baseurl = https://rpm.mariadb.org/13.0/rhel/$releasever/$basearch
+baseurl = https://archive.mariadb.org/mariadb-13.0/yum/rhel/$releasever/$basearch
 # In container we need to validate that this contains the right explicit key
 #gpgkey=https://archive.mariadb.org/PublicKey
 gpgcheck=1
diff --git a/mariadb_12-ubi/docker-entrypoint.sh b/mariadb_13.0-ubi-rc/docker-entrypoint.sh
similarity index 99%
rename from mariadb_12-ubi/docker-entrypoint.sh
rename to mariadb_13.0-ubi-rc/docker-entrypoint.sh
index a1bd559..a5fe9df 100755
--- a/mariadb_12-ubi/docker-entrypoint.sh
+++ b/mariadb_13.0-ubi-rc/docker-entrypoint.sh
@@ -225,7 +225,7 @@ docker_create_db_directories() {
 }
 
 _mariadb_version() {
-	echo -n "12.2.2-MariaDB"
+	echo -n "13.0.1-MariaDB"
 }
 
 # initializes the database directory
diff --git a/mariadb_12.3-ubi-rc/docker.cnf b/mariadb_13.0-ubi-rc/docker.cnf
similarity index 100%
rename from mariadb_12.3-ubi-rc/docker.cnf
rename to mariadb_13.0-ubi-rc/docker.cnf
diff --git a/mariadb_latest/healthcheck.sh b/mariadb_13.0-ubi-rc/healthcheck.sh
similarity index 100%
rename from mariadb_latest/healthcheck.sh
rename to mariadb_13.0-ubi-rc/healthcheck.sh
diff --git a/mariadb_latest/docker-entrypoint.sh b/mariadb_latest/docker-entrypoint.sh
deleted file mode 100755
index a1bd559..0000000
diff --git a/mariadb_lts-ubi/Dockerfile b/mariadb_lts-ubi/Dockerfile
index 3ed9d70..d9f48d5 100644
--- a/mariadb_lts-ubi/Dockerfile
+++ b/mariadb_lts-ubi/Dockerfile
@@ -1,4 +1,4 @@
-FROM redhat/ubi9-minimal
+FROM redhat/ubi10-minimal
 
 RUN sed -i -e '/\[ evp_properties \]/a default_properties = fips=yes'  -e '/opensslcnf.config/a .include = /etc/crypto-policies/back-ends/openssl_fips.config' -e '/\[provider_sect\]/a fips = fips_sect' /etc/pki/tls/openssl.cnf
 
@@ -42,7 +42,7 @@ COPY MariaDB.repo /etc/yum.repos.d/
 # https://access.redhat.com/documentation/en-us/red_hat_software_certification/2024/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
 LABEL name="MariaDB Server" \
 	vendor="MariaDB Community" \
-	version="11.8.8" \
+	version="12.3.2" \
 	release="Refer to Annotations org.opencontainers.image.{revision,source}" \
 	summary="MariaDB Database" \
 	description="MariaDB Database for relational SQL"
@@ -56,11 +56,11 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
       org.opencontainers.image.licenses="GPL-2.0" \
       org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
       org.opencontainers.image.vendor="MariaDB Community" \
-      org.opencontainers.image.version="11.8.8" \
+      org.opencontainers.image.version="12.3.2" \
       org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
 
 # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
-ARG MARIADB_VERSION=11.8.8
+ARG MARIADB_VERSION=12.3.2
 ENV MARIADB_VERSION=$MARIADB_VERSION
 # release-status:Stable
 # release-support-type:Long Term Support
@@ -70,18 +70,18 @@ ENV MARIADB_VERSION=$MARIADB_VERSION
 # procps, pv(epel) - missing dependencies of galera sst script
 # tzdata re-installed as only a fake version is part of the ubi-minimal base image.
 # https://fedoraproject.org/security
-# FF8AD1344597106ECE813B918A3872BF3228467C is the Fedora RPM key for EPEL-9
+# 7D8D15CBFC4E62688591FB2633D98517E37ED158 is the Fedora RPM key for EPEL-10
 # 177F4010FE56CA3336300305F1656F24C74CD1D8 is the MariaDB Server RPM key
 RUN set -eux ; \
-	curl --fail https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9 --output /tmp/epelkey.txt ; \
+	curl --fail https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-10 --output /tmp/epelkey.txt ; \
 	GNUPGHOME="$(mktemp -d)"; export GNUPGHOME ; \
 	gpg --batch --import /tmp/epelkey.txt ; \
-	gpg --batch --armor --export FF8AD1344597106ECE813B918A3872BF3228467C > /tmp/epelkey.txt ; \
+	gpg --batch --armor --export 7D8D15CBFC4E62688591FB2633D98517E37ED158 > /tmp/epelkey.txt ; \
 	rpmkeys --import /tmp/epelkey.txt ; \
-	curl --fail https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm --output /tmp/epel-release-latest-9.noarch.rpm ; \
-	rpm -K /tmp/epel-release-latest-9.noarch.rpm ; \
-	rpm -ivh /tmp/epel-release-latest-9.noarch.rpm ; \
-	rm /tmp/epelkey.txt /tmp/epel-release-latest-9.noarch.rpm ; \
+	curl --fail https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm --output /tmp/epel-release-latest-10.noarch.rpm ; \
+	rpm -K /tmp/epel-release-latest-10.noarch.rpm ; \
+	rpm -ivh /tmp/epel-release-latest-10.noarch.rpm ; \
+	rm /tmp/epelkey.txt /tmp/epel-release-latest-10.noarch.rpm ; \
 	curl --fail https://archive.mariadb.org/PublicKey --output /tmp/MariaDB-Server-GPG-KEY ; \
 	gpg --batch --import /tmp/MariaDB-Server-GPG-KEY; \
 	gpg --batch --armor --export 177F4010FE56CA3336300305F1656F24C74CD1D8 > /tmp/MariaDB-Server-GPG-KEY ; \
@@ -89,11 +89,13 @@ RUN set -eux ; \
 	rm -rf "$GNUPGHOME" /tmp/MariaDB-Server-GPG-KEY ; \
 	unset GNUPGHOME ; \
 	microdnf update -y ; \
-	microdnf reinstall -y tzdata ; \
-	microdnf install -y procps-ng zstd xz gzip tar jemalloc gperftools-libs pwgen pv util-linux-core ; \
+	microdnf install -y tzdata ; \
+	microdnf install --enablerepo=epel --disablerepo=mariadb --releasever=10.1 -y procps-ng zstd xz gzip tar jemalloc gperftools-libs pwgen pv util-linux-core ; \
 	mkdir -p /etc/mysql/conf.d /etc/mysql/mariadb.conf.d/ /var/lib/mysql/mysql /run/mariadb /usr/lib64/galera ; \
 	chmod ugo+rwx,o+t /run/mariadb ; \
-	microdnf install -y MariaDB-backup-${MARIADB_VERSION}  MariaDB-server-${MARIADB_VERSION} ; \
+	microdnf install -y MariaDB-backup-${MARIADB_VERSION}  MariaDB-server-galera-${MARIADB_VERSION} ; \
+	# MDEV-39803 RPM dependencies missing from MariaDB-server-galera package
+	microdnf install -y galera-4 rsync grep gawk iproute coreutils-single findutils tar lsof socat; \
 	# compatibility with DEB Galera packaging
 	ln -s /usr/lib64/galera-4/libgalera_smm.so /usr/lib/libgalera_smm.so ; \
 	# compatibility with RPM Galera packaging
diff --git a/mariadb_lts-ubi/MariaDB.repo b/mariadb_lts-ubi/MariaDB.repo
index 544a946..0b886d0 100644
--- a/mariadb_lts-ubi/MariaDB.repo
+++ b/mariadb_lts-ubi/MariaDB.repo
@@ -1,7 +1,7 @@
 [mariadb]
 name = MariaDB
-#baseurl = https://rpm.mariadb.org/11.8/rhel/$releasever/$basearch
-baseurl = https://archive.mariadb.org/mariadb-11.8/yum/rhel/$releasever/$basearch
+#baseurl = https://rpm.mariadb.org/12.3/rhel/$releasever/$basearch
+baseurl = https://archive.mariadb.org/mariadb-12.3/yum/rhel/$releasever/$basearch
 # In container we need to validate that this contains the right explicit key
 #gpgkey=https://archive.mariadb.org/PublicKey
 gpgcheck=1
diff --git a/mariadb_lts-ubi/docker-entrypoint.sh b/mariadb_lts-ubi/docker-entrypoint.sh
index e2e4e28..60a26d9 100755
--- a/mariadb_lts-ubi/docker-entrypoint.sh
+++ b/mariadb_lts-ubi/docker-entrypoint.sh
@@ -225,7 +225,7 @@ docker_create_db_directories() {
 }
 
 _mariadb_version() {
-	echo -n "11.8.8-MariaDB"
+	echo -n "12.3.2-MariaDB"
 }
 
 # initializes the database directory
diff --git a/mariadb_lts/Dockerfile b/mariadb_lts/Dockerfile
index b437e1b..a73ed5f 100644
--- a/mariadb_lts/Dockerfile
+++ b/mariadb_lts/Dockerfile
@@ -77,18 +77,18 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
       org.opencontainers.image.licenses="GPL-2.0" \
       org.opencontainers.image.source="https://github.com/MariaDB/mariadb-docker" \
       org.opencontainers.image.vendor="MariaDB Community" \
-      org.opencontainers.image.version="11.8.8" \
+      org.opencontainers.image.version="12.3.2" \
       org.opencontainers.image.url="https://github.com/MariaDB/mariadb-docker"
 
 # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
-ARG MARIADB_VERSION=1:11.8.8+maria~ubu2404
+ARG MARIADB_VERSION=1:12.3.2+maria~ubu2404
 ENV MARIADB_VERSION $MARIADB_VERSION
 # release-status:Stable
 # release-support-type:Long Term Support
 # (https://downloads.mariadb.org/rest-api/mariadb/)
 
 # Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions
-ARG REPOSITORY="http://archive.mariadb.org/mariadb-11.8.8/repo/ubuntu/ noble main main/debug"
+ARG REPOSITORY="http://archive.mariadb.org/mariadb-12.3.2/repo/ubuntu/ noble main main/debug"
 
 RUN set -e;\
 	echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; \
@@ -112,7 +112,7 @@ RUN set -ex; \
 # postinst script creates a datadir, so avoid creating it by faking its existence.
 	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 \
+	apt-get install -y --no-install-recommends mariadb-server-galera="$MARIADB_VERSION" mariadb-backup socat \
 	; \
 	rm -rf /var/lib/apt/lists/*; \
 # purge and re-create /var/lib/mysql with appropriate ownership
diff --git a/mariadb_lts/docker-entrypoint.sh b/mariadb_lts/docker-entrypoint.sh
index e2e4e28..60a26d9 100755
--- a/mariadb_lts/docker-entrypoint.sh
+++ b/mariadb_lts/docker-entrypoint.sh
@@ -225,7 +225,7 @@ docker_create_db_directories() {
 }
 
 _mariadb_version() {
-	echo -n "11.8.8-MariaDB"
+	echo -n "12.3.2-MariaDB"
 }
 
 # initializes the database directory

Relevant Maintainers:

@grooverdan grooverdan changed the title 12.3.2 (stable + LTS) + 13.0.1 (RC), 12.2EOL release mariadb: 12.3.2 (stable + LTS) + 13.0.1 (RC), 12.2EOL release Jun 1, 2026
@yosifkit
yosifkit merged commit 8b7008c into docker-library:master Jun 1, 2026
17 checks passed
@grooverdan
grooverdan deleted the 2026q2_new_release branch June 10, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants