Namespace
debezium
Image / Tag
example-mysql:1.9
Content Digest
sha256:031445aecf269afbc7f0a5784dbc384bb0dbda8abf170c9126f945895d052bef
Details
Created

2023-12-15 16:13:16 UTC

Size

166 MB

Content Digest
Labels
  • build-at
    1702656772
  • maintainer
    Debezium Community

Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

8.0

MYSQL_SHELL_VERSION

8.0.35-1.el8

MYSQL_VERSION

8.0.35-1.el8

PATH

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


Layers

[#000] sha256:e9f2695d7e5b00c4289ec17d08776fb4b6664a9c805294c7d5c364b56d3b9435 - 29.53% (48.9 MB)

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

[#002] sha256:c646ab461d8bc00e32894b6ade7648cde75ee4e20d0b4ce4823ee62233fe32d6 - 0.57% (960 KB)

[#003] sha256:38e33690e46ba8482569a79e2bf66c8c7a53cbc22f7bebea8cc5bca7e9051f65 - 2.65% (4.39 MB)

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

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

[#006] sha256:c4d721b014e95566c0fc5ce36065d6a8b11eed348ab158fbcc9ac4b585e8650c - 33.68% (55.8 MB)

[#007] sha256:9ba9f26e807f4e3dcd030bdcf103f5d5079de6f86d66406e91cfbe8e9fc56c02 - 0.0% (316 Bytes)

[#008] sha256:a7be8506e77574efc8fc9fa164fa7d87e16506aefe111afff11aefe5ef9502c3 - 33.57% (55.6 MB)

[#009] sha256:cef9735ba310beee320a5fec6fe2f305feae49cfaf30b88db33097efc3a53638 - 0.0% (5.26 KB)

[#010] sha256:768daf85511c86ca05c1f6238566fbce6f83fcc8274a39dca20bc30c448d3131 - 0.0% (122 Bytes)

[#011] sha256:67bbcaa10fdb4135ca90a0e886fa9034cebbf651ed454f4d3baa739f6313bf9d - 0.0% (1008 Bytes)

[#012] sha256:3e9e385ccd508bd3b8a593fb9624e477d1a64d324f082d95c52fe3ded8df9dcc - 0.0% (1.91 KB)


History
2023-12-06 19:23:17 UTC

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

2023-12-06 19:23:18 UTC

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

2023-12-12 19:11: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

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.16

2023-12-12 19:11: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

2023-12-12 19:11:08 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-12 19:11:08 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-12 19:11:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_MAJOR=8.0

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_VERSION=8.0.35-1.el8

2023-12-12 19:11:08 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/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-12 19:11: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

2023-12-12 19:11: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-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-12 19:11:08 UTC (buildkit.dockerfile.v0)

ENV MYSQL_SHELL_VERSION=8.0.35-1.el8

2023-12-12 19:11: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

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/mysql]

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

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

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

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

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

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

2023-12-12 19:11:08 UTC (buildkit.dockerfile.v0)

CMD ["mysqld"]

2023-12-15 16:13:16 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Debezium Community

2023-12-15 16:13:16 UTC (buildkit.dockerfile.v0)

COPY mysql.cnf /etc/mysql/conf.d/ # buildkit

2023-12-15 16:13:16 UTC (buildkit.dockerfile.v0)

COPY inventory.sql /docker-entrypoint-initdb.d/ # buildkit

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