2021-10-12 16:24:02 UTC
148 MB
1.12
MYSQL_MAJOR5.7
MYSQL_VERSION5.7.35-1debian10
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b380bbd43752f83945df8b5d1074fef8dd044820e7d3aef33b655a2483e030c7 - 17.53% (25.9 MB)
[#001] sha256:f23cbf2ecc5d6ad68efaf326f8ff1c8b4adfab8faad61315440d21c396dd0160 - 0.0% (1.69 KB)
[#002] sha256:30cfc6c29c0af103c07adaa5e3ee70ffbd8de71ca7b9155079c9769f45fb9aa4 - 2.7% (3.99 MB)
[#003] sha256:b38609286cbe5e62cb8a5a9cb7ed553050e6fc1fa4c537b46c54b6d81a527a7b - 0.92% (1.35 MB)
[#004] sha256:8211d9e66cd658ab45002b3fa5f8558cd8c13d2f07ba492d7ea1520718d32cff - 0.0% (149 Bytes)
[#005] sha256:2313f9eeca4a60533540741b85137033831959ae5a9c4ea652fa4605c9a14bae - 8.69% (12.8 MB)
[#006] sha256:7eb487d00da0bfa9e36634d8c6ceae1e2116f2b56da6b272bec5233966f989e8 - 0.0% (1.83 KB)
[#007] sha256:bb9cc5c700e7fb7e0ca9db042b78b50e144da72defc9ddbf857f86d060910694 - 0.0% (225 Bytes)
[#008] sha256:88676eb32344873441c993c766bd6b35cb18662b1c02838ba5afebaf244a8791 - 70.15% (104 MB)
[#009] sha256:8fea0b38a34855016edc5fc573eede479e4fcb0cecdd87872a9b38aa33b16c98 - 0.0% (5.41 KB)
[#010] sha256:3dc585bfc69349e8092a6e6e66c66562a344178408b2bd607cbb064e084894f7 - 0.0% (121 Bytes)
/bin/sh -c #(nop) ADD file:910392427fdf089bc26b64d6dc450ff3d020c7c1a474d85b2f9298134d0007bd in /
2021-10-12 01:21:05 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-10-12 16:22:41 UTC/bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql
2021-10-12 16:22:47 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg dirmngr && rm -rf /var/lib/apt/lists/*
2021-10-12 16:22:48 UTC/bin/sh -c #(nop) ENV GOSU_VERSION=1.12
2021-10-12 16:22:57 UTC/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 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; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true
2021-10-12 16:22:58 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2021-10-12 16:23:05 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends pwgen openssl perl xz-utils && rm -rf /var/lib/apt/lists/*
2021-10-12 16:23:15 UTC/bin/sh -c set -ex; key='A4A9406876FCBD3C456770C88C718D3B5072E1F5'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/mysql.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME"; apt-key list > /dev/null
2021-10-12 16:23:38 UTC/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7
2021-10-12 16:23:38 UTC/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.35-1debian10
2021-10-12 16:23:39 UTC/bin/sh -c echo 'deb http://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list
2021-10-12 16:24:00 UTC/bin/sh -c { echo mysql-community-server mysql-community-server/data-dir select ''; echo mysql-community-server mysql-community-server/root-pass password ''; echo mysql-community-server mysql-community-server/re-root-pass password ''; echo mysql-community-server mysql-community-server/remove-test-db select false; } | debconf-set-selections && apt-get update && apt-get install -y mysql-server="${MYSQL_VERSION}" && find /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' && echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld && chown -R mysql:mysql /var/lib/mysql /var/run/mysqld && chmod 1777 /var/run/mysqld /var/lib/mysql
2021-10-12 16:24:00 UTC/bin/sh -c #(nop) VOLUME [/var/lib/mysql]
2021-10-12 16:24:00 UTC/bin/sh -c #(nop) COPY file:345a22fe55d3e6783a17075612415413487e7dba27fbf1000a67c7870364b739 in /usr/local/bin/
2021-10-12 16:24:01 UTC/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
2021-10-12 16:24:01 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2021-10-12 16:24:02 UTC/bin/sh -c #(nop) EXPOSE 3306 33060
2021-10-12 16:24:02 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.