{"architecture":"amd64","config":{"ExposedPorts":{"3306/tcp":{},"33060/tcp":{}},"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","GOSU_VERSION=1.19","MYSQL_MAJOR=8.0","MYSQL_VERSION=8.0.45-1.el9","MYSQL_SHELL_VERSION=8.0.45-1.el9"],"Entrypoint":["docker-entrypoint.sh"],"Cmd":["mysqld"],"Volumes":{"/var/lib/mysql":{}},"WorkingDir":"/"},"created":"2026-03-20T01:13:38.67519033Z","history":[{"created":"2026-03-20T00:15:07.632710286Z","created_by":"ADD oraclelinux-9-slim-amd64-rootfs.tar.xz / # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T00:15:07.632710286Z","created_by":"CMD [\"/bin/bash\"]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:12:05.466262498Z","created_by":"RUN /bin/sh -c set -eux; \tgroupadd --system --gid 999 mysql; \tuseradd --system --uid 999 --gid 999 --home-dir /var/lib/mysql --no-create-home mysql # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:12:06.907589228Z","created_by":"ENV GOSU_VERSION=1.19","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:12:06.907589228Z","created_by":"RUN /bin/sh -c set -eux; \tarch=\"$(uname -m)\"; \tcase \"$arch\" in \t\taarch64) gosuArch='arm64' ;; \t\tx86_64) gosuArch='amd64' ;; \t\t*) echo \u003e\u00262 \"error: unsupported architecture: '$arch'\"; exit 1 ;; \tesac; \tcurl -fL -o /usr/local/bin/gosu.asc \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch.asc\"; \tcurl -fL -o /usr/local/bin/gosu \"https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch\"; \texport GNUPGHOME=\"$(mktemp -d)\"; \tgpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \tgpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; \trm -rf \"$GNUPGHOME\" /usr/local/bin/gosu.asc; \tchmod +x /usr/local/bin/gosu; \tgosu --version; \tgosu nobody true # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:12:33.131022249Z","created_by":"RUN /bin/sh -c set -eux; \tmicrodnf install -y \t\tbzip2 \t\tgzip \t\topenssl \t\txz \t\tzstd \t\tfindutils \t; \tmicrodnf clean all # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:12:33.820929254Z","created_by":"RUN /bin/sh -c set -eux; \tkey='BCA4 3417 C3B4 85DD 128E C6D4 B7B3 B788 A8D3 785C'; \texport GNUPGHOME=\"$(mktemp -d)\"; \tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\"; \tgpg --batch --export --armor \"$key\" \u003e /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql; \trm -rf \"$GNUPGHOME\" # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:12:33.820929254Z","created_by":"ENV MYSQL_MAJOR=8.0","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:12:33.820929254Z","created_by":"ENV MYSQL_VERSION=8.0.45-1.el9","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:12:33.909400305Z","created_by":"RUN /bin/sh -c set -eu; \t{ \t\techo '[mysql8.0-server-minimal]'; \t\techo 'name=MySQL 8.0 Server Minimal'; \t\techo 'enabled=1'; \t\techo 'baseurl=https://repo.mysql.com/yum/mysql-8.0-community/docker/el/9/$basearch/'; \t\techo 'gpgcheck=1'; \t\techo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; \t\techo 'module_hotfixes=true'; \t} | tee /etc/yum.repos.d/mysql-community-minimal.repo # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:03.321943862Z","created_by":"RUN /bin/sh -c set -eux; \tmicrodnf install -y \"mysql-community-server-minimal-$MYSQL_VERSION\"; \tmicrodnf clean all; \tgrep -F 'socket=/var/lib/mysql/mysql.sock' /etc/my.cnf; \tsed -i 's!^socket=.*!socket=/var/run/mysqld/mysqld.sock!' /etc/my.cnf; \tgrep -F 'socket=/var/run/mysqld/mysqld.sock' /etc/my.cnf; \t{ echo '[client]'; echo 'socket=/var/run/mysqld/mysqld.sock'; } \u003e\u003e /etc/my.cnf; \t\t! grep -F '!includedir' /etc/my.cnf; \t{ echo; echo '!includedir /etc/mysql/conf.d/'; } \u003e\u003e /etc/my.cnf; \tmkdir -p /etc/mysql/conf.d; \tmkdir -p /var/lib/mysql /var/run/mysqld; \tchown mysql:mysql /var/lib/mysql /var/run/mysqld; \tchmod 1777 /var/lib/mysql /var/run/mysqld; \t\tmkdir /docker-entrypoint-initdb.d; \t\tmysqld --version; \tmysql --version # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:03.433107168Z","created_by":"RUN /bin/sh -c set -eu; \t{ \t\techo '[mysql-tools-community]'; \t\techo 'name=MySQL Tools Community'; \t\techo 'baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/9/$basearch/'; \t\techo 'enabled=1'; \t\techo 'gpgcheck=1'; \t\techo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql'; \t\techo 'module_hotfixes=true'; \t} | tee /etc/yum.repos.d/mysql-community-tools.repo # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:03.433107168Z","created_by":"ENV MYSQL_SHELL_VERSION=8.0.45-1.el9","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:13:38.451895484Z","created_by":"RUN /bin/sh -c set -eux; \tmicrodnf install -y \"mysql-shell-$MYSQL_SHELL_VERSION\"; \tmicrodnf clean all; \t\tmysqlsh --version # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:38.451895484Z","created_by":"VOLUME [/var/lib/mysql]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:13:38.57755224Z","created_by":"COPY docker-entrypoint.sh /usr/local/bin/ # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:38.67519033Z","created_by":"RUN /bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2026-03-20T01:13:38.67519033Z","created_by":"ENTRYPOINT [\"docker-entrypoint.sh\"]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:13:38.67519033Z","created_by":"EXPOSE map[3306/tcp:{} 33060/tcp:{}]","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2026-03-20T01:13:38.67519033Z","created_by":"CMD [\"mysqld\"]","comment":"buildkit.dockerfile.v0","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:a06588a07d8a70f60d73602f1849bea9e6339d916ad3aaa27984c4e81f4d6777","sha256:fd356c26e57b7650fabfa86371c8be0601e6f50cd3678b7671e247284bb193f9","sha256:66874193f60473c2699e507cf586ff4ddf8f2f23bb23b61e61047edc444877ba","sha256:2617486313dca43927d085ec1f6007c92246c2f9be4a56db31e97d3a4cefc067","sha256:75155403f352814fde85e177ee732c2e563599d82150f3d38d0b393d0ae315b7","sha256:cd44f6797ca748f9a9a1a50a52098eafd10abd77bc2129c7862e341c6ccf342b","sha256:df950a0564912deb7be2c5ee8025c704449bdd2ddbb1338dfa1406f321b52fb9","sha256:0b0d9689dbbb5295e328b649aa43505d1160477a1441395bdd88a820fc7bb5be","sha256:30d5e181779f3de43a58121a47ee81f4332b051235c1f60617019db6ba587ab5","sha256:f6204add10a056fce63e4af7394e5aecdbc654dc904d59309c96e1d9bd504465","sha256:e779b58be95bc00f1f103ec56ccdf3afe9dc6cf9294f5cf59f2a06714c153063"]}}