Namespace
library
Image / Tag
mysql:8.0.37-oraclelinux9
Content Digest
sha256:598bf8b783dddc9070e9011aeb1eb5947f0bf7c4eda8ac510906556b8a2b6d0a
Details
Created

2024-06-18 16:01:15 UTC

Size

158 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

8.0

MYSQL_SHELL_VERSION

8.0.37-1.el9

MYSQL_VERSION

8.0.37-1.el9

PATH

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


Layers

[#000] sha256:7af76bb365463b0fc983b7c6bd02cea07bb7596f6e889859ef462654cc0293b6 - 29.51% (46.7 MB)

[#001] sha256:0991eb3c93d635a35f6bf96f275415b6fb3d49c5c61d8b235531b74eb51d37c1 - 0.0% (881 Bytes)

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

[#003] sha256:0333fe8b06fc6fe748214ba95d2cbb9338aa3c61100250bdcd1e001256d5ee80 - 4.04% (6.4 MB)

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

[#005] sha256:fd5e573b6b099a044627a2fa2475e38585645e81b7258f0983baaeea4c24a166 - 0.0% (334 Bytes)

[#006] sha256:2797560be722164012bd10d07cd4d1509a148a6213d36809b567da9ae6245cd5 - 29.6% (46.9 MB)

[#007] sha256:5bab8feae9ffd1b728300ec92e8286e3bde18d6d35f65991d5ea4ac0180280d3 - 0.0% (317 Bytes)

[#008] sha256:c68d02817e289a0c6d6be0623df2895b48c19ff77f856e5ceb8689ddf81ba459 - 36.24% (57.4 MB)

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

[#010] sha256:903730759b438ee82e11b38cd327890ba63b6e73eb1fbb308e04ed70867e32ac - 0.0% (122 Bytes)


History
2024-06-18 16:01:15 UTC

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

2024-06-18 16:01:15 UTC

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

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=8.0

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.0.37-1.el9

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { 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/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-06-18 16:01:15 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-06-18 16:01:15 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-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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.0.37-1.el9

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

CMD ["mysqld"]

Details
Created

2024-06-18 16:01:15 UTC

Size

163 MB

Content Digest
Environment
GOSU_VERSION

1.17

MYSQL_MAJOR

8.0

MYSQL_SHELL_VERSION

8.0.37-1.el9

MYSQL_VERSION

8.0.37-1.el9

PATH

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


Layers

[#000] sha256:60ea4dc82df43adc83e6f0a288a75a467c20924311a1fd143690657725c2ebff - 27.94% (45.4 MB)

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

[#002] sha256:93611301cba5889c772d61260e8efc0c7c1c37a70e8e7db9efc2b2cf67010e53 - 0.54% (892 KB)

[#003] sha256:9687d48bd5eed486f834f2aeeb98c3b31c69632e804094345d8fce02a284c911 - 3.7% (6.02 MB)

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

[#005] sha256:e5bc4f805ee7a7fdd1bbe8e4259a240df90d51dd379fecf0379b5aa0ed8f9f1e - 0.0% (335 Bytes)

[#006] sha256:7a499fd6c5d0fcf36f4643dbfcb2964df7e9752b06985b6a132df038ef3adb17 - 28.16% (45.8 MB)

[#007] sha256:5190b5e2a11f8a2422b944e8e1a60f804c425dff784f275e3fd0f109aea89404 - 0.0% (316 Bytes)

[#008] sha256:002aaa2879929ca55cbbcf097ccd507ac8097a7f2fca71fb31f19d0ea2301e55 - 39.66% (64.5 MB)

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

[#010] sha256:2d42313aaf377fc541b23c07cce2792aa3c2b23194aa6d1ee2949de7bcee9ebd - 0.0% (122 Bytes)


History
2024-06-18 16:01:15 UTC

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

2024-06-18 16:01:15 UTC

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

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=8.0

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.0.37-1.el9

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eu; { 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/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-06-18 16:01:15 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-06-18 16:01:15 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-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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.0.37-1.el9

2024-06-18 16:01:15 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-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-06-18 16:01:15 UTC (buildkit.dockerfile.v0)

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

2024-06-18 16:01:15 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