Namespace
library
Image / Tag
mysql:8.2-oracle
Content Digest
sha256:212fe73edca5df6ff14826d5eb975c914bfb91f82a2e923f9050568f99525da1
Details
Created

2023-12-18 23:06:09 UTC

Size

173 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

8.2.1-1.el8

MYSQL_VERSION

8.2.0-1.el8

PATH

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


Layers

[#000] sha256:558b7d69a2e576e93c7cb18ecd087a92959e912b116323c188183d5cf8ab5b17 - 28.27% (48.9 MB)

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

[#002] sha256:50314d46ce2bcc7eb441b7d8b73f0d542f71babfd69783084191ed7cb986d137 - 0.54% (960 KB)

[#003] sha256:494babc9226311b1cdb3c1bbde0566ed15b8cff7b61368bf360affae28e40b02 - 2.53% (4.38 MB)

[#004] sha256:02548e6f2dbfcde4fb252b2be5c9774d4e85549a9e7c06c29eb8057b462765a7 - 0.0% (2.54 KB)

[#005] sha256:a9e5e2637e0d574a25e97e904e376bbff5032bc479b018aee24cff78a60c3769 - 0.0% (338 Bytes)

[#006] sha256:657b198fe6b7bc2a01e42dd907b6a8489d053104fb655184b4313489ae324cb4 - 34.46% (59.7 MB)

[#007] sha256:215a2b0eabbf35b7447ec5212dc2f78db031e9b168ea5ef3f7e1aebc75c3ce95 - 0.0% (329 Bytes)

[#008] sha256:377a4c7a89c59ea677de13ff9b08f4ff4a83c2663dc551171122e907d2ae06fd - 34.19% (59.2 MB)

[#009] sha256:4bfe599fe218ce4ad0aa653323c1c20b55092ee35841646afbcd9aa8e4335d70 - 0.0% (5.06 KB)


History
2023-12-18 23:06:09 UTC

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

2023-12-18 23:06:09 UTC

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

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.2.0-1.el8

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { echo '[mysqlinnovation-server-minimal]'; echo 'name=MySQL innovation Server Minimal'; echo 'enabled=1'; echo 'baseurl=https://repo.mysql.com/yum/mysql-innovation-community/docker/el/8/$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-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo 'baseurl=https://repo.mysql.com/yum/mysql-tools-innovation-community/el/8/$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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.2.1-1.el8

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

CMD ["mysqld"]

Details
Created

2023-12-18 23:06:09 UTC

Size

177 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

8.2.1-1.el8

MYSQL_VERSION

8.2.0-1.el8

PATH

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


Layers

[#000] sha256:6988ac25ab22b91e9e2b9b71df8fcdc44661212c4214d47ad649398b4192a99e - 27.03% (47.8 MB)

[#001] sha256:cd2cec5cf6db11b1ccfb2eece22d4b387b62f30a7e328795522e23241b915c40 - 0.0% (885 Bytes)

[#002] sha256:e703d567fd0e9d63ed6a6cdc8d7c80d20a42c77fec1490c66b149c1465d70734 - 0.49% (892 KB)

[#003] sha256:de5675f5f5a69907e9069105931e0953815be44e5e525f414bf5f610186ae076 - 2.33% (4.11 MB)

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

[#005] sha256:a2f841abaf84e70ea9adf8e87060661de9a640af2d078692da78e0f022957710 - 0.0% (339 Bytes)

[#006] sha256:ec9dd3d51c4258676b6273ca6eb441d416a5de0efd3c1816052c63eed92dea23 - 33.25% (58.7 MB)

[#007] sha256:91ba15636f68c911fd80cfe93399a28984e75f3ccc50cda32f28601aad810793 - 0.0% (325 Bytes)

[#008] sha256:699bfb592109d89d03cb6ba239703eae068660a5e890dd9183f39c5ea98ec301 - 36.9% (65.2 MB)

[#009] sha256:fadd8706fc96f08ea21fa0043a0efd5d6c914c5f544b2a043b5962b78f8d9146 - 0.0% (5.06 KB)


History
2023-12-18 23:06:09 UTC

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

2023-12-18 23:06:09 UTC

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

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.2.0-1.el8

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { echo '[mysqlinnovation-server-minimal]'; echo 'name=MySQL innovation Server Minimal'; echo 'enabled=1'; echo 'baseurl=https://repo.mysql.com/yum/mysql-innovation-community/docker/el/8/$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-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo 'baseurl=https://repo.mysql.com/yum/mysql-tools-innovation-community/el/8/$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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.2.1-1.el8

2023-12-18 23:06:09 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-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-18 23:06:09 UTC (buildkit.dockerfile.v0)

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

2023-12-18 23:06:09 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