Namespace
library
Image / Tag
mysql:8.0.39-bookworm
Content Digest
sha256:f5217f5fd0ecd0b1e2ae9d99ef9facee80a14562aa5f08b25e95a39496e0f242
Details
Created

2024-07-22 22:26:32 UTC

Size

176 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

8.0

MYSQL_VERSION

8.0.39-1debian12

PATH

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


Layers

[#000] sha256:302e3ee498053a7b5332ac79e8efebec16e900289fc1ecd1c754ce8fa047fcab - 15.77% (27.8 MB)

[#001] sha256:9340832f4f653bcecc2dd26a7064d360f5bfa8b10bd8d6c1599255bc1bc914b9 - 0.0% (1.08 KB)

[#002] sha256:599147bb41b49afe7e03c17661f874924741e230702351a8a3bf9565e706a80e - 2.39% (4.22 MB)

[#003] sha256:11f1bde57bb6e16de0a1a9764880c9ed58cc04531e991705f22b44989b21c41c - 0.78% (1.38 MB)

[#004] sha256:56bf26310255b838c9720be3f62f5e57cf9dde36ee8f4ae5cdf74d7a6e41b7fb - 0.0% (116 Bytes)

[#005] sha256:6d6ec81abedddaae798ce6acaafdf212af666240be085ccec47359019aa9fffd - 8.28% (14.6 MB)

[#006] sha256:b73eb3f31f661326e5f29752965c66662a483577d00b7e13674016009cac16b5 - 0.0% (2.44 KB)

[#007] sha256:81ef2bdf8bad54564e01687776d9f03143cfd16a544bcab1c4586b37219ba644 - 0.0% (254 Bytes)

[#008] sha256:1adc78b691f30093cae87a386d4467c885443653796e3ccd2203a3ca229a0a61 - 72.77% (128 MB)

[#009] sha256:bd13b939f15cca2ea04812b6bd0b453819949e70ef200f37176198dccdffea82 - 0.0% (844 Bytes)

[#010] sha256:cdb436fe59e13b3e5d885be38d5faf91c8df81ee4dc86a774a7f215f57cefd71 - 0.0% (5.2 KB)

[#011] sha256:c0125f1e35a95bbcef99e634033615962a9454cdc70043d3b77a7c357016fd1b - 0.0% (122 Bytes)


History
2024-07-22 22:26:32 UTC

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

2024-07-22 22:26:32 UTC

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

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c groupadd -r mysql && useradd -r -g mysql mysql # buildkit

2024-07-22 22:26:32 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-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-07-22 22:26:32 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-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-07-22 22:26:32 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-07-22 22:26:32 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-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=8.0

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.0.39-1debian12

2024-07-22 22:26:32 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-07-22 22:26:32 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-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

COPY config/ /etc/mysql/ # buildkit

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

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

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

EXPOSE map[3306/tcp:{} 33060/tcp:{}]

2024-07-22 22:26:32 UTC (buildkit.dockerfile.v0)

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