Namespace
library
Image / Tag
mysql:8.0.34-oracle
Content Digest
sha256:59ae56ac42c6c09aebd9a7bb8d9f07a5fdf836f956e050946f85bbfa29d0a080
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"]

Details
Created

2023-07-20 22:15:44 UTC

Size

162 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:e39ec8f010eb75816ae2c21b014f7fdecffb48374079b6f1bce017214e2a45cd - 25.67% (41.6 MB)

[#001] sha256:e2b7fadc33ecff9fcb4c6067c675ad7d14bb8b71f383f243e558ae552cf8da05 - 0.0% (883 Bytes)

[#002] sha256:9d193449aafd2e76aefe49f553ee2d007ed850656e18916b74c5d28057e6cfb7 - 0.54% (892 KB)

[#003] sha256:6ea497c74b15661c8dcda90c65a4d6878277fb00ba8ce6c4b71bab676b372c34 - 2.53% (4.1 MB)

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

[#005] sha256:fa2675fd414a6242f407f6b5a8bd013f30d2bad261deb6a6a440e1121da1857a - 0.0% (332 Bytes)

[#006] sha256:d24f782b47329ae0e2c2e08d37b0a47553fb07bd5dadb7ea7e91f570f559084a - 33.77% (54.8 MB)

[#007] sha256:d72061df12b27dfb6b550389fdadb3bc290a2cf8f5baaa58828fe7efb543d359 - 0.0% (315 Bytes)

[#008] sha256:44c59a54226d295d690d41a35b4c9fa1bb3b8a106e062b6129ea176b19d17dac - 37.49% (60.8 MB)

[#009] sha256:c8eba2a1704137c2b007bc0efdbb676a8b8b58a1b2b6e1deaa5422fd5a687b64 - 0.0% (5.27 KB)

[#010] sha256:0c1c0cd211c9ba4d8a84ae33b95fcc805e19bd7f5c1b33cc5b4ae25d8b65eb95 - 0.0% (122 Bytes)


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

/bin/sh -c #(nop) ADD file:e189ba41c54c386435a3292026b75a1386976d3222102c16a725f58f594f284e 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