2022-03-31 02:13:11 UTC
119 MB
1.14
MYSQL_MAJOR5.7
MYSQL_SHELL_VERSION8.0.28-1.el7
MYSQL_VERSION5.7.37-1.el7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9347a8f0b30748522f1f50b679f9f2d0c3eea2bb49da98bb4f38a8c8619b7bf8 - 38.93% (46.5 MB)
[#001] sha256:b1268f9b69b4d2dfc0086f5426266fd97bb99c37e0dc2db707e3e7a5667bba3c - 0.0% (1.04 KB)
[#002] sha256:0f1084d021338c13d9afc0d3fa5ab8ff753ddd7d97abc2a81074b6fff0807a96 - 0.74% (908 KB)
[#003] sha256:92ad34fb0ede94774c93b333cbdc752915f8d0b45eda981588615248b8fbad9e - 3.0% (3.58 MB)
[#004] sha256:e341499385aec2522efd754b4ba03c458add9de6802a7834b941209fb793dc0f - 0.0% (2.6 KB)
[#005] sha256:a31c594d2051139e02d66cb9398ff3c5a88a0028582d910412000794e0bdf8cb - 0.0% (337 Bytes)
[#006] sha256:10402a7aeb1ec24fc39bb20fb660442e97663d31323f62ef129df564b2028e0a - 20.34% (24.3 MB)
[#007] sha256:acb1127c3ae153f55defbf50395e6dfccffdf83d2ced9935588799d02e261632 - 0.0% (316 Bytes)
[#008] sha256:c376f51d5a2e25c8a3858cb731885b73c177d96433a1e9a591d757ebbb61f3c7 - 36.99% (44.2 MB)
[#009] sha256:144aebf1e30feeda4a8dcd3e7abbab3bc10d0fbe37018acf6d4ff6f0c67742c7 - 0.0% (5.01 KB)
/bin/sh -c #(nop) ADD file:b0df42f2bb614be48861be26e670ab6a81c1549d24e64b5e355980adcf0074be in /
2022-03-29 18:36:11 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2022-03-31 02:12:23 UTC/bin/sh -c set -eux; groupadd --system --gid 999 mysql; useradd --system --uid 999 --gid 999 --home-dir /var/lib/mysql --no-create-home mysql; mkdir /var/lib/mysql /var/run/mysqld; chown mysql:mysql /var/lib/mysql /var/run/mysqld; chmod 1777 /var/lib/mysql /var/run/mysqld; mkdir /docker-entrypoint-initdb.d
2022-03-31 02:12:23 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-03-31 02:12:26 UTC/bin/sh -c set -eux; arch="$(uname -m)"; case "$arch" in aarch64) gosuArch='arm64' ;; x86_64) gosuArch='amd64' ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -o /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch.asc"; curl -fL -o /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2022-03-31 02:12:36 UTC/bin/sh -c set -eux; yum install -y gzip openssl xz zstd ; yum clean all
2022-03-31 02:12:37 UTC/bin/sh -c set -eux; key='859BE8D7C586F538430B19C2467B942D3A79BD29'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export --armor "$key" > /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; rm -rf "$GNUPGHOME"
2022-03-31 02:12:37 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2022-03-31 02:12:37 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.37-1.el7
2022-03-31 02:12:38 UTC/bin/sh -c set -eu; . /etc/os-release; { echo '[mysql5.7-server-minimal]'; echo 'name=MySQL 5.7 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-5.7-community/docker/el/${VERSION_ID%%[.-]*}/\$basearch/"; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-minimal.repo
2022-03-31 02:12:52 UTC/bin/sh -c set -eux; yum install -y "mysql-community-server-minimal-$MYSQL_VERSION"; yum clean all; grep -F 'socket=/var/lib/mysql/mysql.sock' /etc/my.cnf; sed -i 's!^socket=.*!socket=/var/run/mysqld/mysqld.sock!' /etc/my.cnf; grep -F 'socket=/var/run/mysqld/mysqld.sock' /etc/my.cnf; { echo '[client]'; echo 'socket=/var/run/mysqld/mysqld.sock'; } >> /etc/my.cnf; ! grep -F '!includedir' /etc/my.cnf; { echo; echo '!includedir /etc/mysql/conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/conf.d; mysqld --version; mysql --version
2022-03-31 02:12:53 UTC/bin/sh -c set -eu; . /etc/os-release; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo "baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/${VERSION_ID%%[.-]*}/\$basearch/"; echo 'enabled=1'; echo 'gpgcheck=1'; echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; echo 'module_hotfixes=true'; } | tee /etc/yum.repos.d/mysql-community-tools.repo
2022-03-31 02:12:53 UTC/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.28-1.el7
2022-03-31 02:13:10 UTC/bin/sh -c set -eux; yum install -y "mysql-shell-$MYSQL_SHELL_VERSION"; yum clean all; mysqlsh --version
2022-03-31 02:13:10 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2022-03-31 02:13:11 UTC/bin/sh -c #(nop) COPY file:e9a583a365264f0f565259ffd0f19e5199ef4351d098f75af32f633c0d6cbe73 in /usr/local/bin/
2022-03-31 02:13:11 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-03-31 02:13:11 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2022-03-31 02:13:11 UTC/bin/sh -c #(nop) CMD ["mysqld"]
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.