docker-otrs/mariabd (latest)

Published 2024-04-24 03:11:06 +02:00 by snoopy

Installation

docker pull git.koeln.ccc.de/snoopy/docker-otrs/mariabd:latest
sha256:a29d7741c77b9b7552918a6e3adb9f62190f04d9a3c61d5fbe753ff6b1eef3ae

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=22.04
ADD file:3bd10da0673e2e72cb06a1f64a9df49a36341df39b0f762e3d1b38ee4de296fa 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:jammy 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.3.2 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
ARG MARIADB_VERSION=1:11.3.2+maria~ubu2204
ENV MARIADB_VERSION=1:11.3.2+maria~ubu2204
ARG REPOSITORY=http://archive.mariadb.org/mariadb-11.3.2/repo/ubuntu/ jammy main main/debug
RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:11.3.2+maria~ubu2204 REPOSITORY=http://archive.mariadb.org/mariadb-11.3.2/repo/ubuntu/ jammy 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 |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_VERSION=1:11.3.2+maria~ubu2204 REPOSITORY=http://archive.mariadb.org/mariadb-11.3.2/repo/ubuntu/ jammy main main/debug /bin/sh -c set -ex; { echo "mariadb-server" mysql-server/root_password password 'unused'; echo "mariadb-server" 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; sed -i -e '/character-set-collations/d' /etc/mysql/mariadb.conf.d/50-server.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 ["mariadbd"]
RUN echo "[mysqld]" >> /etc/mysql/conf.d/otrs.cnf && echo "max_allowed_packet=64M" >> /etc/mysql/conf.d/otrs.cnf && echo "query_cache_size=32M" >> /etc/mysql/conf.d/otrs.cnf && echo "innodb_log_file_size=256M" >> /etc/mysql/conf.d/otrs.cnf && echo "skip-character-set-client-handshake" >> /etc/mysql/conf.d/otrs.cnf && echo "init-connect='SET NAMES utf8'" >> /etc/mysql/conf.d/otrs.cnf && echo "init_connect='SET collation_connection = utf8_unicode_ci'" >> /etc/mysql/conf.d/otrs.cnf && echo "collation-server = utf8_general_ci" >> /etc/mysql/conf.d/otrs.cnf && echo "character-set-server = utf8" >> /etc/mysql/conf.d/otrs.cnf

Labels

Key Value
maintainer Juan Luis Baptiste <juan.baptiste@gmail.com>
org.opencontainers.image.authors MariaDB Community
org.opencontainers.image.base.name docker.io/library/ubuntu:jammy
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 11.3.2
Details
Container
2024-04-24 03:11:06 +02:00
5
OCI / Docker
linux/amd64
MariaDB Community
GPL-2.0
117 MiB
Versions (1) View all
latest 2024-04-24