2024-06-18 16:01:15 UTC
176 MB
1.17
MYSQL_MAJOR8.0
MYSQL_VERSION8.0.37-1debian12
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:2cc3ae149d28a36d28d4eefbae70aaa14a0c9eab588c3790f7979f310b893c44 - 15.78% (27.8 MB)
[#001] sha256:347b12af5b557c06c3a5c6dd975dd3686381c91b8ef931d9ab05a86fdb255d61 - 0.0% (1.08 KB)
[#002] sha256:dc88e593e6b408dd358d9a445e1084f70ec1eabdba282702cea7a6b942c0bbbe - 2.39% (4.22 MB)
[#003] sha256:0812b991e80fec0287ed574a1991a2d8c777b671d63b5daf22e191efc9f15637 - 0.78% (1.38 MB)
[#004] sha256:566764f5c2d992f68294268ee93f0ab724bfa4b7dd3d01e53bef6aeb80bf8a3c - 0.0% (116 Bytes)
[#005] sha256:4d3b68b73b8170fa31433ea9ffa40b6b50e51f8c0b1dd82a00d1a93061743291 - 8.27% (14.6 MB)
[#006] sha256:53eabfac9e79d96e7bec68c3b0ff222212936c118f6992c53345c0ccfcad871f - 0.0% (2.44 KB)
[#007] sha256:b993ed90740c0149e5ee20f29c4509d21f3628e496e270b0c1dedf62e2fccbbf - 0.0% (255 Bytes)
[#008] sha256:bfb3521799e2bce5b1df28dce6c04c8212066e04cd24148030f5568726465661 - 72.76% (128 MB)
[#009] sha256:a26d31927a647d17f4cf62c30839e677c2ff7ef21ff57e78d6999a9eb4e6a24b - 0.0% (848 Bytes)
[#010] sha256:9d9bc340fbe849fdcd94680e6eb30ef7e3e9fd9b701d397599077f69931ca842 - 0.0% (5.2 KB)
[#011] sha256:346a7068ba10db291aafa1814f51be521a8fc34037d95042a735378ce83cede9 - 0.0% (122 Bytes)
/bin/sh -c #(nop) ADD file:5f9954090af042b377ea0d1d184faa64d2e9d4c946b6c3898d52aff47e764056 in /
2024-06-13 01:20:56 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg && rm -rf /var/lib/apt/lists/* # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /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/* # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; key='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; 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" # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)ENV MYSQL_MAJOR=8.0
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)ENV MYSQL_VERSION=8.0.37-1debian12
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo 'deb [ signed-by=/etc/apt/keyrings/mysql.gpg ] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0' > /etc/apt/sources.list.d/mysql.list # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /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-community-client="${MYSQL_VERSION}" mysql-community-server-core="${MYSQL_VERSION}" && 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 # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/mysql]
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)COPY config/ /etc/mysql/ # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)EXPOSE map[3306/tcp:{} 33060/tcp:{}]
2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)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.