2026-08-21 17:51:05 UTC
153 MB
1.19
MARIADB_VERSION12.3.2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
containeroci
[#000] sha256:68774b1c806af71a34a179e2397bd0a4568f97681106fab710192c96e498f363 - 20.61% (31.6 MB)
[#001] sha256:e47ad678494c49280196698c8cecd75a7e852161d8629f112cccdbe86a6b31ff - 0.0% (4.65 KB)
[#002] sha256:825083d192e0fbe8dda2469be06c84afc4fda40641f0f8c37388a4c5ab5a865f - 1.4% (2.14 MB)
[#003] sha256:d8eee2f2a73a98c8f7680b1278218565e6a525a8927f6c6eafb786e9d93079bd - 6.16% (9.44 MB)
[#004] sha256:af2d2088e07fa92b7598f5a18325a84c69dfb132d36faf12dfce9a88715685be - 0.0% (299 Bytes)
[#005] sha256:8ab308d435ed1a63b74c722beae49c2e38189ca422fc87a20ec46bcfb71d520c - 0.0% (331 Bytes)
[#006] sha256:2e00496eac108295150d856026545e812df9ba9d884522d805d5cef326e51508 - 71.82% (110 MB)
[#007] sha256:4e70fc88f0a80dfcc8f3ceb143a260cc5529866410c01fd18f94f795a753fa94 - 0.0% (116 Bytes)
[#008] sha256:53be88ad2353fc457d584dbdb9024b3257335be950c92183686e21cedc481b98 - 0.0% (3.93 KB)
[#009] sha256:68e234fc2b9453e9d4e2e92e02340888d45f7d026b0ee94fe0d4f6d6d182f29f - 0.01% (8.29 KB)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi10-minimal-container" name="ubi10/ubi-minimal" version="10.2" cpe="cpe:/o:redhat:enterprise_linux:10.2" distribution-scope="public"
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 10."
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
2026-08-20 05:45:24 UTC/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 10 Minimal"
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel10"
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) ENV container oci
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) COPY dir:e44f9197bfd72bc658385b5b15ab7462e17e7efd592f16da1d8b4e59c9a00dc2 in /
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) COPY file:5de33b5fc08b00635bccf9134a18978dba13e2250aa51838f9969515a3957847 in /etc/yum.repos.d/.
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-08-20 05:45:25 UTC/bin/sh -c #(nop) COPY dir:7954bbfaabcb4f9d29560c7d7cdb21c9cca4ba55a953c5ccc5d80e9881cc587c in /usr/share/buildinfo/
2026-08-20 05:45:26 UTC/bin/sh -c #(nop) COPY dir:7954bbfaabcb4f9d29560c7d7cdb21c9cca4ba55a953c5ccc5d80e9881cc587c in /root/buildinfo/
2026-08-20 05:45:26 UTC/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-20T05:45:03Z" "org.opencontainers.image.revision"="b2232799f269a1f388bb8eab702d61fa78c72fce" "build-date"="2026-08-20T05:45:03Z" "architecture"="aarch64" "vcs-ref"="b2232799f269a1f388bb8eab702d61fa78c72fce" "vcs-type"="git" "release"="1787204459"org.opencontainers.image.created=2026-08-20T05:45:03Z,org.opencontainers.image.revision=b2232799f269a1f388bb8eab702d61fa78c72fce
2026-08-21 17:46:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c 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 # buildkit
2026-08-21 17:46:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c microdnf install -y shadow-utils && groupadd --gid 999 -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql --uid 999 && microdnf remove -y shadow-utils && microdnf clean all # buildkit
2026-08-21 17:46:47 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.19
2026-08-21 17:46:47 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; rpmArch="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "$rpmArch" in aarch64) dpkgArch='arm64' ;; armv7*) dpkgArch='armhf' ;; i686) dpkgArch='i386' ;; ppc64le) dpkgArch='ppc64el' ;; s390x|riscv64) dpkgArch=$rpmArch ;; x86_64) dpkgArch='amd64' ;; *) echo >&2 "error: unknown/unsupported architecture '$rpmArch'"; exit 1 ;; esac; curl --fail --location --output /usr/local/bin/gosu https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch} ; curl --fail --location --output /usr/local/bin/gosu.asc https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-${dpkgArch}.asc; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; microdnf install -y gnupg2; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; chmod a+x /usr/local/bin/gosu; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; gosu --version; gosu nobody true # buildkit
2026-08-21 17:46:48 UTC (buildkit.dockerfile.v0)COPY --chmod=0644 docker.cnf /etc/my.cnf.d/ # buildkit
2026-08-21 17:50:35 UTC (buildkit.dockerfile.v0)COPY MariaDB.repo /etc/yum.repos.d/ # buildkit
2026-08-21 17:50:35 UTC (buildkit.dockerfile.v0)LABEL name=MariaDB Server vendor=MariaDB Community version=12.3.2 release=Refer to Annotations org.opencontainers.image.{revision,source} summary=MariaDB Database description=MariaDB Database for relational SQL
2026-08-21 17:50:35 UTC (buildkit.dockerfile.v0)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/redhat/ubi9-minimal 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.3.2 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
2026-08-21 17:50:35 UTC (buildkit.dockerfile.v0)ARG MARIADB_VERSION=12.3.2
2026-08-21 17:50:35 UTC (buildkit.dockerfile.v0)ENV MARIADB_VERSION=12.3.2
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)RUN |1 MARIADB_VERSION=12.3.2 /bin/sh -c set -eux ; 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 7D8D15CBFC4E62688591FB2633D98517E37ED158 > /tmp/epelkey.txt ; rpmkeys --import /tmp/epelkey.txt ; 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 ; rpmkeys --import /tmp/MariaDB-Server-GPG-KEY ; rm -rf "$GNUPGHOME" /tmp/MariaDB-Server-GPG-KEY ; unset GNUPGHOME ; microdnf update -y ; 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-galera-${MARIADB_VERSION} ; microdnf install -y galera-4 rsync grep gawk iproute coreutils-single findutils tar lsof socat; ln -s /usr/lib64/galera-4/libgalera_smm.so /usr/lib/libgalera_smm.so ; ln -s /usr/lib64/galera-4/libgalera_smm.so /usr/lib64/galera/libgalera_smm.so ; openssl list -providers | awk '/^\s*fips/{f=1} f && /status: active/{print "FIPS is active"; found=1; exit 0} END { if (!found) { print "FIPS is not active"; exit 1} }'; microdnf clean all ; rmdir /var/lib/mysql/mysql ; chown -R mysql:mysql /var/lib/mysql /run/mariadb ; mkdir /licenses ; ln -s /usr/share/doc/MariaDB-server-${MARIADB_VERSION}/COPYING /licenses/GPL-2 ; ln -s /usr/share/licenses /licenses/package-licenses ; ln -s Apache-2.0-license /licenses/gosu # buildkit
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/mysql]
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)RUN |1 MARIADB_VERSION=12.3.2 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)USER mysql
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)EXPOSE map[3306/tcp:{}]
2026-08-21 17:51:05 UTC (buildkit.dockerfile.v0)CMD ["mariadbd"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.