2022-12-07 02:24:55 UTC
138 MB
1.14
MYSQL_MAJOR5.7
MYSQL_SHELL_VERSION8.0.31-1.el7
MYSQL_VERSION5.7.40-1.el7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d26998a7c52d2b84e7927f97651d1d703a805c8e4d3f658a03138721f5a5dd44 - 34.53% (47.5 MB)
[#001] sha256:4a9d8a3567e30df99576e0a4dbca773af581230fee203891610e6ccbdaa823d2 - 0.0% (871 Bytes)
[#002] sha256:bfee1f0f349e08af59ed77c7d56ede70f0c5739daa2477ef54a4ee457f5e3e47 - 0.64% (908 KB)
[#003] sha256:71ff8dfb9b12b027c35d779fe4f06a9b3d0d26efed52153324cfa2f409423b0d - 3.15% (4.33 MB)
[#004] sha256:bf56cbebc916d35659623816867a456610961f77db6d9753e738c5564651dfa0 - 0.0% (2.6 KB)
[#005] sha256:2e747e5e37d77f3d8331753fc4c4eb0b0e5af8648ee5b2eec8fa274ebdddb475 - 0.0% (338 Bytes)
[#006] sha256:711a06e512dab8bc033e74a32300e408fc4d5ab67e6db0f84942d3ddadb7376d - 17.7% (24.3 MB)
[#007] sha256:3288d68e4e9e0f5e70378db2d166bf205b73ca677bdf72384be72fa529264ed1 - 0.0% (315 Bytes)
[#008] sha256:49271f2d6d157b6b14c6d6c165b3b29b8d29aef70edd653702832a48bcecf382 - 43.98% (60.5 MB)
[#009] sha256:f782f6cac69ce870188610aef114b2852e9f69f2b849a4df90c0209bf8dc1717 - 0.0% (5.26 KB)
[#010] sha256:701dea355691c2e0ccc548aa219fc1dd83ba44ff81843802aef25e77e813454d - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:3853624d773c4bf6fc1464ca06bd07366109fab78072fcab59075073a5da6525 in /
2022-12-07 01:51:56 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2022-12-07 02:23:50 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-12-07 02:23:50 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-12-07 02:23:52 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-12-07 02:24:09 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-12-07 02:24:10 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-12-07 02:24:10 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2022-12-07 02:24:10 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.40-1.el7
2022-12-07 02:24:11 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-12-07 02:24:29 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-12-07 02:24:30 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-12-07 02:24:30 UTC/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.31-1.el7
2022-12-07 02:24:53 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-12-07 02:24:54 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2022-12-07 02:24:54 UTC/bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/
2022-12-07 02:24:55 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
2022-12-07 02:24:55 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-12-07 02:24:55 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2022-12-07 02:24:55 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.