Namespace
library
Image / Tag
mysql:5.7.42-debian
Content Digest
sha256:0821f3a5b3ecda79885d8bd40ec353f3d2cc1bc23586f9c367dfc76493737163
Details
Created

2023-07-28 04:01:46 UTC

Size

155 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

5.7

MYSQL_VERSION

5.7.42-1debian10

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:3240fe174df9a5a4923c4b52f1d887dd1ad1a9ee69245c1fb867f399167584dd - 16.7% (25.9 MB)

[#001] sha256:ffaa8624d67fc9d7b9a853651fa6a43ea5c72306c8b714cdf6bde9cf6bfeda68 - 0.0% (1.69 KB)

[#002] sha256:4d8328f9714ee4d9dd54781dd63189463b39f50b1476592e6d90796b5418c121 - 2.57% (3.99 MB)

[#003] sha256:5eb1b5f179ac9e77ef196b29c87f958c01ce51cfd83ea0bdc45b4a90880232a3 - 0.89% (1.38 MB)

[#004] sha256:656a614f333cba042c3aaa4f7b145dc1e1a6c2f178b4397489edfa0e066fe22b - 0.0% (148 Bytes)

[#005] sha256:ad1320c6d0c3241c8750d2e86d4810e095b12872b551fb22f5474b92c9387ab1 - 8.65% (13.4 MB)

[#006] sha256:a28b57b8a949385221af8199c10ea28f9cc775d65f625976c21aaf279cd724a6 - 0.0% (2.48 KB)

[#007] sha256:6a0cdfac10514bc2265cb937c71bf63fcde127d277d40bee48cc3448b6219b11 - 0.0% (249 Bytes)

[#008] sha256:c540032ab5fd49c38310fa3af7abbf03958a135c62f68b2cca19277fa478f48b - 71.19% (111 MB)

[#009] sha256:2fe13c62198b67e3800d1e9386c961d54c862d3633d9a84c0fc5b1954577b7bd - 0.0% (5.26 KB)

[#010] sha256:c5129c0e04b1db606c133672a02aa649bcbb9040b5e2db0ec9ed6477eadd2ae4 - 0.0% (121 Bytes)


History
2023-07-27 23:25:29 UTC

/bin/sh -c #(nop) ADD file:20e7ad6bec617357895302b08431eb3430cce3113bdf0a8ff9827115f858d313 in /

2023-07-27 23:25:30 UTC

/bin/sh -c #(nop) CMD ["bash"]

2023-07-28 04:01:04 UTC

/bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql

2023-07-28 04:01:09 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg && rm -rf /var/lib/apt/lists/*

2023-07-28 04:01:10 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.16

2023-07-28 04:01:18 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

2023-07-28 04:01:18 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2023-07-28 04:01:24 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 openssl perl xz-utils zstd ; rm -rf /var/lib/apt/lists/*

2023-07-28 04:01:26 UTC

/bin/sh -c set -eux; key='859BE8D7C586F538430B19C2467B942D3A79BD29'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; mkdir -p /etc/apt/keyrings; gpg --batch --export "$key" > /etc/apt/keyrings/mysql.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME"

2023-07-28 04:01:26 UTC

/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7

2023-07-28 04:01:26 UTC

/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.42-1debian10

2023-07-28 04:01:26 UTC

/bin/sh -c echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ buster mysql-5.7' > /etc/apt/sources.list.d/mysql.list

2023-07-28 04:01:44 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

2023-07-28 04:01:45 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/mysql]

2023-07-28 04:01:45 UTC

/bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/

2023-07-28 04:01:46 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat

2023-07-28 04:01:46 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2023-07-28 04:01:46 UTC

/bin/sh -c #(nop) EXPOSE 3306 33060

2023-07-28 04:01:46 UTC

/bin/sh -c #(nop) CMD ["mysqld"]

Danger Zone
Delete Tag

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.

Delete