mariadb (sha256:1bf982337e00be1d46b1f3c03d1010bbeaa3ee53c462975c4ee3c698efc26382)

Published 2025-06-14 06:12:59 +02:00 by titanz

Installation

docker pull git.conorz.at/titanz-containers/mariadb@sha256:1bf982337e00be1d46b1f3c03d1010bbeaa3ee53c462975c4ee3c698efc26382
sha256:1bf982337e00be1d46b1f3c03d1010bbeaa3ee53c462975c4ee3c698efc26382

Image Layers

LABEL maintainer="Red Hat, Inc."
LABEL vendor="Red Hat, Inc."
LABEL url="https://www.redhat.com"
LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.6" distribution-scope="public"
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
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."
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."
LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
LABEL io.openshift.expose-services=""
LABEL io.openshift.tags="minimal rhel9"
ENV container oci
COPY dir:dd3dc18ab466569b07043336c84190595a673cf78699fcf70dbf83deddf44d87 in /
COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
CMD ["/bin/bash"]
COPY file:0667e9d31385a24c3aef13f2dd9ab6a7b71b3dfcfef5127d3c1e2ea2c838e5cb in /usr/share/buildinfo/content-sets.json
LABEL "build-date"="2025-06-09T17:24:02" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="7e18551b8a7ac3e7aa6347d84b9f0b5c8cc8fe52" "release"="1749489516"
RUN /bin/sh -c groupadd --gid 999 -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql --uid 999 # buildkit
ENV GOSU_VERSION=1.17
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; 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
COPY --chmod=0644 docker.cnf /etc/my.cnf.d/ # buildkit
COPY MariaDB.repo /etc/yum.repos.d/ # buildkit
LABEL name=MariaDB Server vendor=MariaDB Community version=10.11.13 release=Refer to Annotations org.opencontainers.image.{revision,source} summary=MariaDB Database description=MariaDB Database for relational SQL
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=10.11.13 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
ARG MARIADB_VERSION=10.11.13
ENV MARIADB_VERSION=10.11.13
RUN |1 MARIADB_VERSION=10.11.13 /bin/sh -c set -eux ; curl --fail https://pagure.io/fedora-web/websites/raw/master/f/sites/getfedora.org/static/keys/FF8AD1344597106ECE813B918A3872BF3228467C.txt --output /tmp/epelkey.txt ; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME ; gpg --batch --import /tmp/epelkey.txt ; gpg --batch --armor --export FF8AD1344597106ECE813B918A3872BF3228467C > /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://supplychain.mariadb.com/MariaDB-Server-GPG-KEY --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 reinstall -y tzdata ; microdnf install -y procps-ng zstd xz jemalloc 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} ; 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 ; 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
VOLUME [/var/lib/mysql]
RUN |1 MARIADB_VERSION=10.11.13 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
USER mysql
EXPOSE map[3306/tcp:{}]
CMD ["mariadbd"]
ARG UID=200011
ARG GID=200011
LABEL maintainer=Lukas Raub titanz@pm.me
USER root
RUN |2 UID=200011 GID=200011 /bin/sh -c usermod -u ${UID} mysql && groupmod -g ${GID} mysql && find / -path '/proc' -prune -user 999 -exec chown -h mysql {} \; && find / -path '/proc' -prune -group 999 -exec chgrp -h mysql {} \; # buildkit
RUN |2 UID=200011 GID=200011 /bin/sh -c microdnf -y upgrade && rm -rf /usr/local/bin/gosu && curl https://copr.fedorainfracloud.org/coprs/secureblue/hardened_malloc/repo/rhel-9/secureblue-hardened_malloc-rhel-9.repo -o /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:secureblue:hardened_malloc.repo && microdnf install -y crypto-policies-scripts hardened_malloc && update-crypto-policies --set FUTURE && echo libhardened_malloc.so > /etc/ld.so.preload # buildkit
USER mysql

Labels

Key Value
architecture aarch64
build-date 2025-06-09T17:24:02
com.redhat.component ubi9-minimal-container
com.redhat.license_terms https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI
description MariaDB Database for relational SQL
distribution-scope public
io.buildah.version 1.39.0-dev
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.
io.k8s.display-name Red Hat Universal Base Image 9 Minimal
io.openshift.expose-services
io.openshift.tags minimal rhel9
maintainer Lukas Raub titanz@pm.me
name MariaDB Server
org.opencontainers.image.authors MariaDB Community
org.opencontainers.image.base.name docker.io/redhat/ubi9-minimal
org.opencontainers.image.created 2025-06-14T04:09:35.363Z
org.opencontainers.image.description
org.opencontainers.image.documentation https://hub.docker.com/_/mariadb/
org.opencontainers.image.licenses
org.opencontainers.image.revision ef729cf991bdfe0853b949cb734cc41e836a6a63
org.opencontainers.image.source https://git.conorz.at/titanz-containers/mariadb-ubi
org.opencontainers.image.title mariadb-ubi
org.opencontainers.image.url https://git.conorz.at/titanz-containers/mariadb-ubi
org.opencontainers.image.vendor MariaDB Community
org.opencontainers.image.version 10.11-ubi
release Refer to Annotations org.opencontainers.image.{revision,source}
summary MariaDB Database
url https://www.redhat.com
vcs-ref 7e18551b8a7ac3e7aa6347d84b9f0b5c8cc8fe52
vcs-type git
vendor MariaDB Community
version 10.11.13
Details
Container
2025-06-14 06:12:59 +02:00
0
OCI / Docker
linux/arm64
MariaDB Community
196 MiB
Versions (17) View all
10-alpine 2025-06-14
10.11-alpine 2025-06-14
10.11 2025-06-14
lts-alpine 2025-06-14
lts 2025-06-14