Namespace
amd64
Image / Tag
mysql:8.0.34
Content Digest
sha256:b1f92f0130e26bacd4ad17bbdba41052078a6eb6d6bb2f626fdd0cf6b69befc9
Details
Created

2023-07-20 22:15:44 UTC

Size

158 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

8.0

MYSQL_SHELL_VERSION

8.0.34-1.el8

MYSQL_VERSION

8.0.34-1.el8

PATH

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


Layers

[#000] sha256:8e0176adc18c476bdfcc701f01cda5acf49bc8e6d7fadac8072091a43fafbb25 - 26.7% (42.2 MB)

[#001] sha256:de512b6f1736a825c3faf1f6e29b250af00fdb081c26d02f1276237265d272e2 - 0.0% (882 Bytes)

[#002] sha256:fb3459be0c6886d8c2e23eb23a582006b68738b48bd52db4bd1303d9ae8286c6 - 0.59% (960 KB)

[#003] sha256:77379308b924f78d087b9cfded2b5333247182de433e11417ea7d81f2c574f27 - 2.78% (4.4 MB)

[#004] sha256:bfadef6257d17e2d887a0bfdf3948749ed43e98f99eff26251fc63f3e6b2cef3 - 0.0% (2.55 KB)

[#005] sha256:5034ed0fbcb845f3118bc99cd00e20d01ef0c8ce7ad6ce378833004e55c90948 - 0.0% (333 Bytes)

[#006] sha256:c0363a641ba973d0dc144b009898cb31c06a4c04dde2b2f59a553407e463abb6 - 35.26% (55.8 MB)

[#007] sha256:49cafcd8a97548e00aba56544fe0d961c8de101a22f560158687c6ea874e2543 - 0.0% (318 Bytes)

[#008] sha256:c2f92e2c3315cb55c51e20d5f9da7105d08e0c94a1ff8264a6b59dc3f19384c2 - 34.66% (54.8 MB)

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

[#010] sha256:7238affa01f6b755e3715d2269dc451392b079dc8c242ea2204a29d3f6d212ae - 0.0% (122 Bytes)


History
2023-07-20 22:15:44 UTC

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

2023-07-20 22:15:44 UTC

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

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; microdnf install -y bzip2 gzip openssl xz zstd findutils ; microdnf clean all # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /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" # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=8.0

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.0.34-1.el8

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; . /etc/os-release; { echo '[mysql8.0-server-minimal]'; echo 'name=MySQL 8.0 Server Minimal'; echo 'enabled=1'; echo "baseurl=https://repo.mysql.com/yum/mysql-8.0-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 # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; microdnf install -y "mysql-community-server-minimal-$MYSQL_VERSION"; microdnf 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; 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 # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.0.34-1.el8

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; microdnf install -y "mysql-shell-$MYSQL_SHELL_VERSION"; microdnf clean all; mysqlsh --version # buildkit

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

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

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

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

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-07-20 22:15:44 UTC (buildkit.dockerfile.v0)

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

2023-07-20 22:15:44 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