Namespace
library
Image / Tag
mysql:9.2-oracle
Content Digest
sha256:e863828bfad034b8848d37640d7ed95746849c9ebc026a4abf2ca3d85b0a450e
Details
Created

2025-01-21 17:25:08 UTC

Size

166 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

9.1.0-1.el9

MYSQL_VERSION

9.2.0-1.el9

PATH

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


Layers

[#000] sha256:2c0a233485c3a7b6cab556a9a9c2916ca9a3afc8c46097ddfbe0af4fe120a50c - 28.14% (46.8 MB)

[#001] sha256:fb027c65a85cfe71e10cb49319c0786a090eb22468ca3422c214c88de3ae3c20 - 0.0% (884 Bytes)

[#002] sha256:bd0747a4bff6cc331618078318c1bca51d994163a1174334dcb716867a7b4041 - 0.56% (960 KB)

[#003] sha256:6a67d6d40a5b95ff4c8a8b509a3c40bd4575f93b00c84677478cb6decbacffb2 - 3.95% (6.58 MB)

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

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

[#006] sha256:5086dfc014b63f301004e0818fd180de81c391656c2d24f163e4c156e87eb707 - 27.75% (46.2 MB)

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

[#008] sha256:cffd6c85e2555dc0907be4593c8cbb5c9f0b57804e4f17fbd61d6df6596da225 - 39.59% (65.9 MB)

[#009] sha256:6a9a54c9e55ed4d4edc5ee1fa81529402cad99b650dedfb0b27baf62cd2b9f34 - 0.0% (5.21 KB)


History
2024-11-21 19:42:52 UTC (buildkit.dockerfile.v0)

ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit

2024-11-21 19:42:52 UTC (buildkit.dockerfile.v0)

CMD ["/bin/bash"]

2025-01-21 17:25:08 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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-21 17:25:08 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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 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"; gpg --batch --export --armor "$key" > /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; rm -rf "$GNUPGHOME" # buildkit

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=9.2.0-1.el9

2025-01-21 17:25:08 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/9/$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

2025-01-21 17:25:08 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

2025-01-21 17:25:08 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/9/$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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=9.1.0-1.el9

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

CMD ["mysqld"]

Details
Created

2025-01-21 17:25:08 UTC

Size

164 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

9.1.0-1.el9

MYSQL_VERSION

9.2.0-1.el9

PATH

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


Layers

[#000] sha256:f7fa64c7935f6bb5df09447a656c51d0f8f2a9f6c57838b88508dce34d5ec36a - 27.76% (45.5 MB)

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

[#002] sha256:d08c5512fe2f397e73fe08b22d175b1f9302bde2d289dbc819bef7dc74f5a9cd - 0.53% (892 KB)

[#003] sha256:0fe89fd72816f51b76b2e7f6d53bbf3459ebed39c6964c869c28aebf4e00d71c - 3.78% (6.2 MB)

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

[#005] sha256:bbcabec7fc12d61851b5abb2f7409f52aac6bfa4d1bfab43393f87ce6939b04b - 0.0% (341 Bytes)

[#006] sha256:886685c1f09c1546856088f46790451631e2cd78c89642cef3e7096f842d7a97 - 27.55% (45.1 MB)

[#007] sha256:515829a0f5f2f6b338de123ebe53680811f33b9f9eb7771c672d47b170d95cfe - 0.0% (325 Bytes)

[#008] sha256:87f10ba4c4b2d21ad73f50bdcce8c7a26033528158fbba741a590d7a3175a40f - 40.36% (66.1 MB)

[#009] sha256:9e14daf14dcc590efe6c9bbb088b2d4938b9d6786b89b24936665544abdae13f - 0.0% (5.21 KB)


History
2024-11-21 19:43:03 UTC (buildkit.dockerfile.v0)

ADD oraclelinux-9-slim-arm64v8-rootfs.tar.xz / # buildkit

2024-11-21 19:43:03 UTC (buildkit.dockerfile.v0)

CMD ["/bin/bash"]

2025-01-21 17:25:08 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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2025-01-21 17:25:08 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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 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"; gpg --batch --export --armor "$key" > /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; rm -rf "$GNUPGHOME" # buildkit

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=9.2.0-1.el9

2025-01-21 17:25:08 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/9/$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

2025-01-21 17:25:08 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

2025-01-21 17:25:08 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/9/$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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=9.1.0-1.el9

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2025-01-21 17:25:08 UTC (buildkit.dockerfile.v0)

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

2025-01-21 17:25:08 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