Namespace
library
Image / Tag
mysql:9.0.0
Content Digest
sha256:72a37ddc9f839cfd84f1f6815fb31ba26f37f4c200b90e49607797480e3be446
Details
Created

2024-07-02 09:20:08 UTC

Size

162 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

9.0.0-1.el9

MYSQL_VERSION

9.0.0-1.el9

PATH

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


Layers

[#000] sha256:d9a40b27c30f626a234b4038d1370cabaed0e37737d0a56e3ea84710f110f14c - 28.77% (46.7 MB)

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

[#002] sha256:c1e267313ede19da1f4545a26c6a7a347cd9d552c1bf5eb1e4d990c07bd29c7f - 0.58% (960 KB)

[#003] sha256:7478f013875ac848b51f9be6c58dd26a7970e4c27ec3f44007664fe7899926ad - 3.94% (6.4 MB)

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

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

[#006] sha256:35c3d30e86249495b1ec7a9f854d73c6003cf9d4c0c59220299f5b6d248aa461 - 28.02% (45.5 MB)

[#007] sha256:3d4d1dd0cca6e000ae98cec17f680e8d81073c3fd20b474fb16b683354392c02 - 0.0% (330 Bytes)

[#008] sha256:08bfe3f7d1c5d2e8a45a58479557641f7be3278b2762846cc2d5e971f44035ef - 38.68% (62.8 MB)

[#009] sha256:537e7daeeea3b38e389882c68f2a1edaf4fb08808c945777c8fa785cf4819094 - 0.0% (5.2 KB)


History
2024-07-02 09:20:08 UTC

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

2024-07-02 09:20:08 UTC

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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=9.0.0-1.el9

2024-07-02 09:20: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

2024-07-02 09:20: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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=9.0.0-1.el9

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

CMD ["mysqld"]

Details
Created

2024-07-02 09:20:08 UTC

Size

160 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

innovation

MYSQL_SHELL_VERSION

9.0.0-1.el9

MYSQL_VERSION

9.0.0-1.el9

PATH

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


Layers

[#000] sha256:c72f53f7235bf26fdb27eaeb0d712fc1886f19eda2722ef9709dda7424814b9e - 28.44% (45.4 MB)

[#001] sha256:c7e4ed755af29fc091f6b3f3a295d7eb6d9f70ce20e10f15ea560a61c89f5511 - 0.0% (879 Bytes)

[#002] sha256:6c8c802f90bcb55a56c8fc6eba20da29fec657eb2bff8a6e5352dbb7e4ad6062 - 0.55% (892 KB)

[#003] sha256:eecc55f854cdab91d64d65c97cbb146c14612d9a5de8d677864c78060bf8cb37 - 3.77% (6.02 MB)

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

[#005] sha256:3a27c3f0dbd7bd618d96252fb302dc315239f2bd5342fb24503fcb8355e1bb00 - 0.0% (340 Bytes)

[#006] sha256:a55978eb4258b58e8175bccf79076058dcc239db7dbf4b6a7097ea079d109972 - 27.81% (44.4 MB)

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

[#008] sha256:afe5d39ea75cdaa6f800950068c7131523356cf366be712a99f1b6b672a29589 - 39.43% (63 MB)

[#009] sha256:72a1a98f7aad5e2bdaf2d8d1d4adfaae73a57d7480814dc93a89810cc594bbf9 - 0.0% (5.2 KB)


History
2024-07-02 09:20:08 UTC

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

2024-07-02 09:20:08 UTC

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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=innovation

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=9.0.0-1.el9

2024-07-02 09:20: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

2024-07-02 09:20: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

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=9.0.0-1.el9

2024-07-02 09:20: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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-07-02 09:20:08 UTC (buildkit.dockerfile.v0)

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

2024-07-02 09:20: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