2022-10-07 21:08:18 UTC
123 MB
1.14
MYSQL_MAJOR5.7
MYSQL_SHELL_VERSION8.0.30-1.el7
MYSQL_VERSION5.7.39-1.el7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:0056409b8e897373ba0cef19c5e1f387c06dafd5e11f3f2f0f22d34c8acb6717 - 38.52% (47.6 MB)
[#001] sha256:219bd535343da2b375f2b97b3dbb9bafb7b73ed81a353dfe8f4cc8d07458e7c9 - 0.0% (867 Bytes)
[#002] sha256:f220ee65eb90231c15c775fbeafd88aa10dc6840cf78a4b81fe0a509950f316d - 0.72% (908 KB)
[#003] sha256:7bbb395b2290fd2673caeb1b3d2fa4613fd74fb6e73327dc64b4d62c7b095bdb - 3.51% (4.34 MB)
[#004] sha256:645e487e5f0a70ac505c9c639fa41269beebe9c9bc3b0fe8806b224df42f0f62 - 0.0% (2.59 KB)
[#005] sha256:266b96d99da24606359f05ed90b8d9bc96019eecf841fef22bfaf7c2f6451e84 - 0.0% (335 Bytes)
[#006] sha256:5b1965015916405436be1a814fdec2dbfd63857a2c7a0ab466c69df9b1af0238 - 19.7% (24.3 MB)
[#007] sha256:5f5976bb40e48b9bcaf847b190e836781ec8391a56ba1411e877fc68352a218a - 0.0% (315 Bytes)
[#008] sha256:d7dde9165879ec22185c6d0e588b3c0b09e4515df9c1f44ccf727096c324cff6 - 37.54% (46.3 MB)
[#009] sha256:604d9c61b75931c108ef1d876ab74535f26212280a2ff7d0502d55f4028407bf - 0.0% (5.26 KB)
[#010] sha256:cdd75db384927c06c5bea0df9ad95522c8ab23a4fa4e07125693e38132b89675 - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:d7b7ed3315719e2a7f19233b68dbf42298d9d6e1a882de7154751ad29710eeac in /
2022-10-07 20:32:03 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2022-10-07 21:07:13 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-10-07 21:07:13 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.14
2022-10-07 21:07:16 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-10-07 21:07:35 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-10-07 21:07:36 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-10-07 21:07:36 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2022-10-07 21:07:36 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.39-1.el7
2022-10-07 21:07:36 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-10-07 21:07:54 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-10-07 21:07:55 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-10-07 21:07:55 UTC/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.30-1.el7
2022-10-07 21:08:16 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-10-07 21:08:17 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2022-10-07 21:08:17 UTC/bin/sh -c #(nop) COPY file:5e84598933ec95c9918378d8dde5be8d5f80b0e1fc321a029f840f313201ebce in /usr/local/bin/
2022-10-07 21:08:18 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
2022-10-07 21:08:18 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-10-07 21:08:18 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2022-10-07 21:08:18 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.