mariadb (10.5)

Published 2024-09-09 16:24:29 +00:00 by Kabooshki

Installation

docker pull gitea.henriserverack.com/archive-team/mariadb:10.5
sha256:2921ca2931990772637c62ed213ab879c81ceb489f46c3d48e7b2f9a15c37aec

About this package

MariaDB Database for relational SQL

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=20.04
ADD file:e7cff353f027ecf0a2cb1cdd51714de3b083a11a0d965f104489f9a7e6925056 in /
CMD ["/bin/bash"]
RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql # buildkit
ENV GOSU_VERSION=1.17
ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates gpg gpgv libjemalloc2 pwgen tzdata xz-utils zstd ; savedAptMark="$(apt-mark showmanual)"; apt-get install -y --no-install-recommends dirmngr gpg-agent wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -q -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -q -O /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; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$GPG_KEYS" > /etc/apt/trusted.gpg.d/mariadb.gpg; if command -v gpgconf >/dev/null; then gpgconf --kill all; fi; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark >/dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
ENV LANG=C.UTF-8
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:focal 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.5.26 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
ARG MARIADB_MAJOR=10.5
ENV MARIADB_MAJOR=10.5
ARG MARIADB_VERSION=1:10.5.26+maria~ubu2004
ENV MARIADB_VERSION=1:10.5.26+maria~ubu2004
ARG REPOSITORY=http://archive.mariadb.org/mariadb-10.5.26/repo/ubuntu/ focal main main/debug
RUN |4 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.5 MARIADB_VERSION=1:10.5.26+maria~ubu2004 REPOSITORY=http://archive.mariadb.org/mariadb-10.5.26/repo/ubuntu/ focal main main/debug /bin/sh -c set -e; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; { echo 'Package: *'; echo 'Pin: release o=MariaDB'; echo 'Pin-Priority: 999'; } > /etc/apt/preferences.d/mariadb # buildkit
RUN |4 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.5 MARIADB_VERSION=1:10.5.26+maria~ubu2004 REPOSITORY=http://archive.mariadb.org/mariadb-10.5.26/repo/ubuntu/ focal main main/debug /bin/sh -c set -ex; { echo "mariadb-server-$MARIADB_MAJOR" mysql-server/root_password password 'unused'; echo "mariadb-server-$MARIADB_MAJOR" mysql-server/root_password_again password 'unused'; } | debconf-set-selections; apt-get update; mkdir -p /var/lib/mysql/mysql ; touch /var/lib/mysql/mysql/user.frm ; apt-get install -y --no-install-recommends mariadb-server="$MARIADB_VERSION" mariadb-backup socat ; rm -rf /var/lib/apt/lists/*; rm -rf /var/lib/mysql /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf; mkdir -p /var/lib/mysql /run/mysqld; chown -R mysql:mysql /var/lib/mysql /run/mysqld; chmod 1777 /run/mysqld; find /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log|user\s)' | xargs -rt -0 sed -Ei 's/^(bind-address|log|user\s)/#&/'; printf "[mariadb]\nhost-cache-size=0\nskip-name-resolve\n" > /etc/mysql/mariadb.conf.d/05-skipcache.cnf; if [ -L /etc/mysql/my.cnf ]; then sed -i -e '/includedir/ {N;s/\(.*\)\n\(.*\)/\n\2\n\1/}' /etc/mysql/mariadb.cnf; fi # buildkit
VOLUME [/var/lib/mysql]
COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE map[3306/tcp:{}]
CMD ["mysqld"]

Labels

Key Value
org.opencontainers.image.authors MariaDB Community
org.opencontainers.image.base.name docker.io/library/ubuntu:focal
org.opencontainers.image.description MariaDB Database for relational SQL
org.opencontainers.image.documentation https://hub.docker.com/_/mariadb/
org.opencontainers.image.licenses GPL-2.0
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.source https://github.com/MariaDB/mariadb-docker
org.opencontainers.image.title MariaDB Database
org.opencontainers.image.url https://github.com/MariaDB/mariadb-docker
org.opencontainers.image.vendor MariaDB Community
org.opencontainers.image.version 10.5.26
Details
Container
2024-09-09 16:24:29 +00:00
0
OCI / Docker
linux/amd64
MariaDB Community
GPL-2.0
116 MiB
Versions (1) View all
10.5 2024-09-09