2022-07-13 06:47:30 UTC
122 MB
1.14
MYSQL_MAJOR5.7
MYSQL_SHELL_VERSION8.0.29-1.el7
MYSQL_VERSION5.7.38-1.el7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:66fb3478003364657ac7751c40e41a135e02975f9459f652b1df23e3896b5fac - 38.15% (46.5 MB)
[#001] sha256:ef4ccd63cdb4ccb21c25d292be05bf37ee54a40a0746acdfa962a45a29a08b51 - 0.0% (870 Bytes)
[#002] sha256:d6f28a94c51f0d4090e9d6792e3ac48d318cc96056520dd0d7f6e6d2db851891 - 0.73% (908 KB)
[#003] sha256:7feea2a503b5e8b906b70f33abda7cc47dd30cb72363f804838831a48fdc8a74 - 3.56% (4.34 MB)
[#004] sha256:71dd5852ecd934862db097d1380b3c2fe6471908610bbc2ac0b10f3daf59a183 - 0.0% (2.6 KB)
[#005] sha256:3da2c95cac2f2be8de53134b47fffb71f3d257008a21469515bc369365d80cab - 0.0% (334 Bytes)
[#006] sha256:af7913db289ca759b26340e40246245818235665507ec4b07e217e00def9339d - 19.94% (24.3 MB)
[#007] sha256:77f552f93c12a44977e352279f7cf9e424bed23f5593b9f150ac1de660c28100 - 0.0% (317 Bytes)
[#008] sha256:3ed53edb61abcac629dfed63948829313b0af1321c2ac4a33eb69e6cd64fd0ab - 37.62% (45.9 MB)
[#009] sha256:67e1c6839f08f71f146139560a0cea2c9999d9c468e67df57b0df499ca968d45 - 0.0% (5.04 KB)
[#010] sha256:abcdaaf08d0fddb2dd29500c74a9d51e6878618e456a44a34dc767b2dacf4973 - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:50fb7d83a9d57e5a0a6af5e5daf27e464ae8a28c196ce6bad6c254dfc1774cdd in /
2022-07-05 22:20:58 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2022-07-13 06:46: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
2022-07-13 06:46:23 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-07-13 06:46: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-07-13 06:46:48 UTC/bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False oracle-epel-release-el7; yum install -y --setopt=skip_missing_names_on_install=False bzip2 gzip openssl xz zstd ; yum clean all
2022-07-13 06:46:49 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-07-13 06:46:49 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2022-07-13 06:46:49 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.38-1.el7
2022-07-13 06:46:50 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-07-13 06:47:07 UTC/bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "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; { echo '!includedir /etc/mysql/mysql.conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/mysql.conf.d; find /etc/my.cnf /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/'; mkdir -p /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; mysqld --version; mysql --version
2022-07-13 06:47:08 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-07-13 06:47:08 UTC/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.29-1.el7
2022-07-13 06:47:29 UTC/bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-shell-$MYSQL_SHELL_VERSION"; yum clean all; mysqlsh --version
2022-07-13 06:47:29 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2022-07-13 06:47:30 UTC/bin/sh -c #(nop) COPY file:d27cf504fa76fb5a4038020a01eaaf52723b17b751566119de311adacb043752 in /usr/local/bin/
2022-07-13 06:47:30 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
2022-07-13 06:47:30 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-07-13 06:47:30 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2022-07-13 06:47:30 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.