2023-03-31 23:24:09 UTC
124 MB
1.16
MYSQL_MAJOR5.7
MYSQL_SHELL_VERSION8.0.32-1.el7
MYSQL_VERSION5.7.41-1.el7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:e83e8f2e82cc31391cd0cb4f5ba574ba5eb9708fc0f5dcc34fef53b03ef28f31 - 38.83% (48.2 MB)
[#001] sha256:0f23deb01b847d9dd0fc43ede2d2dacda423b95fdbf64e0ce21a6f542f6a167e - 0.0% (870 Bytes)
[#002] sha256:f5bda3b184ea984d363fc64e635076bcb405620effc23b2eac44f23e662bfd57 - 0.76% (961 KB)
[#003] sha256:ed17edbc6604e6a5d584a08fa036d3d0711dde7676b4a6fe0adeb03b148ba5e7 - 3.53% (4.37 MB)
[#004] sha256:33a94a6acfa729dcf5f76be5966ecdc31692840ba7619f81d82d5e6dfc717c03 - 0.0% (2.59 KB)
[#005] sha256:3686cf92b89d34f1d5ef195eae6471104f3a875645541473e013e18d4b595e5e - 0.0% (333 Bytes)
[#006] sha256:f81535a6a8bfbe8280ee0edbb4f5e8472a38785d2c36fd5c59b85996314f8ad4 - 19.63% (24.3 MB)
[#007] sha256:4bffb03ea5e2bb6d0867f6130190cdd297dc62dcd87b40f33ef7242ae6c76106 - 0.0% (320 Bytes)
[#008] sha256:49348ef8dcaad9bf9de316da06cf84291bcbeb9dd40b063fc9dfe852e4e3f0fc - 37.25% (46.2 MB)
[#009] sha256:509d665d0cf5e0b271d7d16a0f0fd46a59006b6c62a8e860701622fa702a2826 - 0.0% (5.26 KB)
[#010] sha256:adc919b937fd60ace9e14a4d9963cdadb2f1939b0c5501cb83caf17f50eb4cfd - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:a14b5a8b8b6993aeee5ac6052fdf283560d65365e5bcf133ab21c4756439384a in /
2023-03-31 22:29:01 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-03-31 23:23:03 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
2023-03-31 23:23:04 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.16
2023-03-31 23:23:07 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
2023-03-31 23:23:23 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
2023-03-31 23:23:25 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"
2023-03-31 23:23:25 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2023-03-31 23:23:25 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.41-1.el7
2023-03-31 23:23:25 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
2023-03-31 23:23:43 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
2023-03-31 23:23:44 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
2023-03-31 23:23:44 UTC/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.32-1.el7
2023-03-31 23:24:07 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
2023-03-31 23:24:08 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2023-03-31 23:24:08 UTC/bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/
2023-03-31 23:24:08 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
2023-03-31 23:24:08 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-03-31 23:24:09 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2023-03-31 23:24:09 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.