2024-01-12 04:15:55 UTC
118 MB
1.17
LANGC.UTF-8
MARIADB_MAJOR10.6
MARIADB_VERSION1:10.6.16+maria~deb11
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:0e0969fcaa8240e1eeb53f9f5d4ddd1bf89a2c9971c9cbe455eba0e66eeefb53 - 25.42% (30 MB)
[#001] sha256:90c6e9600eac2922f1048ef28df0832fbca3101c2cd66dfb71535426d4cdcf35 - 0.0% (1.6 KB)
[#002] sha256:16839bd20328c4f6a02ef18663b953b8a82f142f35f7f206da9199de4ff10f71 - 3.77% (4.44 MB)
[#003] sha256:89d40b2e986be06edafaec7e12d434498c672e0aae1d809f368b4c4550c30b8f - 0.0% (116 Bytes)
[#004] sha256:9eaf147d6d886b0640fb19427daf5dae6db7504bf5792b65b20a68198f22a4e1 - 0.0% (333 Bytes)
[#005] sha256:77473f38e6e453c22cc98a40fe85cd8faa1326bab54239904d879a2ab036f42f - 70.81% (83.5 MB)
[#006] sha256:0474fe9319a477c20a5cf6c5c4aafd68d223c65f2c491fe1919fe548883aeae9 - 0.0% (3.53 KB)
[#007] sha256:0a470c720bcccfe708cc24342f7cc1bc6264bde0c98a908221975933d03f8df3 - 0.01% (7.67 KB)
/bin/sh -c #(nop) ADD file:bd961ef3fd78ceb8ce13f43a6b265e2bef640dfff887462b8ceb73a1d4637401 in /
2024-01-11 02:38:17 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-01-12 04:15:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql # buildkit
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)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; wget -qO - https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/gpg.B47668A04ABEE742.key | gpg --dearmor > /etc/apt/trusted.gpg.d/jumpserver-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
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)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/debian:bullseye-slim 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.6.16 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG MARIADB_MAJOR=10.6
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV MARIADB_MAJOR=10.6
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /bin/sh -c set -e; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; case $dpkgArch in "amd64"|"arm64"|"ppc64el") REPOSITORY="http://archive.mariadb.org/mariadb-10.6.16/repo/debian/ bullseye main main/debug"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; "s390x") REPOSITORY="https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/deb/debian/ bullseye main"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; *) echo >&2 "error: unsupported architecture: ${dpkgArch}"; ;; esac; { echo 'Package: *'; echo 'Pin: release o=MariaDB'; echo 'Pin-Priority: 999'; } > /etc/apt/preferences.d/mariadb # buildkit
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /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
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/mysql]
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)EXPOSE map[3306/tcp:{}]
2024-01-12 04:15:55 UTC (buildkit.dockerfile.v0)CMD ["mariadbd"]
2024-01-12 04:15:53 UTC
114 MB
1.17
LANGC.UTF-8
MARIADB_MAJOR10.6
MARIADB_VERSION1:10.6.16+maria~deb11
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:5ae20c369ec182f5275f874054411f9bfb3f8132ff52a9c1d08d4ae15494d01c - 25.21% (28.7 MB)
[#001] sha256:21a7f8256756f853b8b937e6d569ec53800c4917edd02e13a092ac219c4090a2 - 0.0% (1.61 KB)
[#002] sha256:f12212067afe13d1a3ca352926181b23a033f21e7ba74c710d17171806cf3bf1 - 3.78% (4.3 MB)
[#003] sha256:89d40b2e986be06edafaec7e12d434498c672e0aae1d809f368b4c4550c30b8f - 0.0% (116 Bytes)
[#004] sha256:9eaf147d6d886b0640fb19427daf5dae6db7504bf5792b65b20a68198f22a4e1 - 0.0% (333 Bytes)
[#005] sha256:1d855be6dd7519efa28644a98afb67369ea94a9b0414b9f52cc1a87b21c0f457 - 70.99% (80.7 MB)
[#006] sha256:c5c01baadd80602449a807c5ff7a6348d5cd441f1ae4cced02f74252b714e364 - 0.0% (3.53 KB)
[#007] sha256:c068798b537bc4bbff34ba279554f44c27f5c61259db5245b8dbd42f708edcfd - 0.01% (7.67 KB)
/bin/sh -c #(nop) ADD file:cc4e0e6a7b230ab75567cf842e75faa905aeab802405e89a4302d912db6bc5d9 in /
2024-01-11 02:40:59 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-01-12 04:15:03 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql # buildkit
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)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; wget -qO - https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/gpg.B47668A04ABEE742.key | gpg --dearmor > /etc/apt/trusted.gpg.d/jumpserver-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
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)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/debian:bullseye-slim 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.6.16 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG MARIADB_MAJOR=10.6
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV MARIADB_MAJOR=10.6
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ARG MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)ENV MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 04:15:30 UTC (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /bin/sh -c set -e; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; case $dpkgArch in "amd64"|"arm64"|"ppc64el") REPOSITORY="http://archive.mariadb.org/mariadb-10.6.16/repo/debian/ bullseye main main/debug"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; "s390x") REPOSITORY="https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/deb/debian/ bullseye main"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; *) echo >&2 "error: unsupported architecture: ${dpkgArch}"; ;; esac; { echo 'Package: *'; echo 'Pin: release o=MariaDB'; echo 'Pin-Priority: 999'; } > /etc/apt/preferences.d/mariadb # buildkit
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /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
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/mysql]
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)EXPOSE map[3306/tcp:{}]
2024-01-12 04:15:53 UTC (buildkit.dockerfile.v0)CMD ["mariadbd"]
2024-01-12 12:15:50 +0800
115 MB
1.17
LANGC.UTF-8
MARIADB_MAJOR10.6
MARIADB_VERSION1:10.6.16+maria~deb11
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a8470cec8ee9510bf45556c756635d84eb3cbc0220b52812522196008c6b0d3e - 24.56% (28.3 MB)
[#001] sha256:178887d2463bb9a9d44159bfdf40b0cef278455b25509ea9a05cb610a31827f2 - 0.0% (1.7 KB)
[#002] sha256:e0d40d3bd915c404fc34cbea094fcf23049ceff84a06540779f3235ba5d0e898 - 3.9% (4.49 MB)
[#003] sha256:d1e29228825691f0a53e84ae0b7bfbee9bc7445058f7a54b28eeee3ce65ae87d - 0.0% (134 Bytes)
[#004] sha256:99492d6cdfec1a5496cb258bd3b33b88fd9f35060239a74989c1aa50b8dfc078 - 0.0% (341 Bytes)
[#005] sha256:189b49d921fb40b5f96fc3b07c2132ceaa5a4aea9873f6334a2a9f5c42d6e7c0 - 71.53% (82.4 MB)
[#006] sha256:c5586e70a31165cf1f3fcfa15213854ca1c21338a7e66045caadc4b3dd033f28 - 0.0% (3.53 KB)
[#007] sha256:ac117311e072b82747ad22077ab37bbb14eaf87d32c779f1164ea31ff5f53091 - 0.01% (7.67 KB)
/bin/sh -c #(nop) ADD file:77a92d4e9397475a6c68f4341baba607a7c875bc6e252de3e096482dd074f8ca in /
2024-01-11 01:45:49 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-01-12 12:15:03 +0800 (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql --home-dir /var/lib/mysql # buildkit
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ARG GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)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; wget -qO - https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/gpg.B47668A04ABEE742.key | gpg --dearmor > /etc/apt/trusted.gpg.d/jumpserver-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
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)RUN |1 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)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/debian:bullseye-slim 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.6.16 org.opencontainers.image.url=https://github.com/MariaDB/mariadb-docker
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ARG MARIADB_MAJOR=10.6
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ENV MARIADB_MAJOR=10.6
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ARG MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)ENV MARIADB_VERSION=1:10.6.16+maria~deb11
2024-01-12 12:15:14 +0800 (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /bin/sh -c set -e; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; case $dpkgArch in "amd64"|"arm64"|"ppc64el") REPOSITORY="http://archive.mariadb.org/mariadb-10.6.16/repo/debian/ bullseye main main/debug"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; "s390x") REPOSITORY="https://dl.cloudsmith.io/public/jumpserver/mariadb-10-6-16/deb/debian/ bullseye main"; echo "deb ${REPOSITORY}" > /etc/apt/sources.list.d/mariadb.list; ;; *) echo >&2 "error: unsupported architecture: ${dpkgArch}"; ;; esac; { echo 'Package: *'; echo 'Pin: release o=MariaDB'; echo 'Pin-Priority: 999'; } > /etc/apt/preferences.d/mariadb # buildkit
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)RUN |3 GPG_KEYS=177F4010FE56CA3336300305F1656F24C74CD1D8 MARIADB_MAJOR=10.6 MARIADB_VERSION=1:10.6.16+maria~deb11 /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
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)VOLUME [/var/lib/mysql]
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)COPY healthcheck.sh /usr/local/bin/healthcheck.sh # buildkit
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)EXPOSE map[3306/tcp:{}]
2024-01-12 12:15:50 +0800 (buildkit.dockerfile.v0)CMD ["mariadbd"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.