mariadb (sha256:9935d4b354751e8b6c4d8e4bca118c58de2da4b7dacb7275bb1ccdaa66c4fe4c)
Published 2025-04-19 05:03:44 +02:00 by titanz
Installation
docker pull git.conorz.at/titanz-containers/mariadb@sha256:9935d4b354751e8b6c4d8e4bca118c58de2da4b7dacb7275bb1ccdaa66c4fe4c
sha256:9935d4b354751e8b6c4d8e4bca118c58de2da4b7dacb7275bb1ccdaa66c4fe4c
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:df27096315f97be2134faf11df5dc31f92c8dd671e0b8267905e1f2330865336 in / |
COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/. |
CMD ["/bin/bash"] |
/bin/sh -c . /cachi2/cachi2.env && rm -rf /var/log/* |
LABEL "build-date"="2025-03-25T14:59:41" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="63823c7605fee63261a8e33cad8085bc4bb24676" "build-date"="2025-03-25T14:50:12Z" "release"="1742914212" |
/bin/sh |
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.7.2 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.7.2 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker |
ARG MARIADB_VERSION=11.7.2 |
ENV MARIADB_VERSION=11.7.2 |
RUN |1 MARIADB_VERSION=11.7.2 /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.7.2 /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 | x86_64 |
build-date | 2025-03-25T14:50:12Z |
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-04-19T03:00:29.161Z |
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 | ubi |
release | Refer to Annotations org.opencontainers.image.{revision,source} |
summary | MariaDB Database |
url | https://www.redhat.com |
vcs-ref | 63823c7605fee63261a8e33cad8085bc4bb24676 |
vcs-type | git |
vendor | MariaDB Community |
version | 11.7.2 |
Details
2025-04-19 05:03:44 +02:00
Versions (17)
View all
Container
0
OCI / Docker
linux/amd64
MariaDB Community
204 MiB