mariadb (sha256:02b3a092c20e1c22cd388e6f8a91e86c0ba1bc12771ebd77276d8493303917e4)

Published 2025-05-01 05:45:35 +02:00 by titanz

Installation

docker pull git.conorz.at/titanz-containers/mariadb@sha256:02b3a092c20e1c22cd388e6f8a91e86c0ba1bc12771ebd77276d8493303917e4
sha256:02b3a092c20e1c22cd388e6f8a91e86c0ba1bc12771ebd77276d8493303917e4

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.5" 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:37e2781211ed66b85e838f75f63c4036aeedc358075b7ac677bbe4ad43998692 in /
COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.
CMD ["/bin/bash"]
/bin/sh -c . /cachi2/cachi2.env && rm -rf /var/log/*
COPY file:0667e9d31385a24c3aef13f2dd9ab6a7b71b3dfcfef5127d3c1e2ea2c838e5cb in /usr/share/buildinfo/content-sets.json
LABEL "build-date"="2025-04-28T15:48:27" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="f072486a5ead2d7d882ba4af2ce72e19cce20791" "release"="1745855087"
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=11.4.5 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=11.4.5 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
ARG MARIADB_VERSION=11.4.5
ENV MARIADB_VERSION=11.4.5
RUN |1 MARIADB_VERSION=11.4.5 /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=11.4.5 /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-04-28T15:48:27
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-05-01T03:42:32.840Z
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 11.4-ubi
release Refer to Annotations org.opencontainers.image.{revision,source}
summary MariaDB Database
url https://www.redhat.com
vcs-ref f072486a5ead2d7d882ba4af2ce72e19cce20791
vcs-type git
vendor MariaDB Community
version 11.4.5
Details
Container
2025-05-01 05:45:35 +02:00
0
OCI / Docker
linux/arm64
MariaDB Community
199 MiB
Versions (17) View all
10-alpine 2025-05-01
10.11-alpine 2025-05-01
10.11 2025-05-01
lts-alpine 2025-05-01
lts 2025-05-01