Namespace
library
Image / Tag
mysql:5.7-oracle
Content Digest
sha256:4bc6bc963e6d8443453676cae56536f4b8156d78bae03c0145cbe47c2aad73bb
Details
Created

2023-12-12 19:11:08 UTC

Size

132 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

5.7

MYSQL_SHELL_VERSION

8.0.35-1.el7

MYSQL_VERSION

5.7.44-1.el7

PATH

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


Layers

[#000] sha256:20e4dcae4c693910efbf28a556e2fa88ef717e15364f63da7e0a4a130b9b714e - 36.62% (48.2 MB)

[#001] sha256:1c56c3d4ce74a53225aa9fa60ee8be21d81aad4fede8431225dff84c25e1c79e - 0.0% (869 Bytes)

[#002] sha256:e9f03a1c24cebdce0bffa69aec1a9f2d7cf5b21db611576f6263d10ec86e02b7 - 0.71% (960 KB)

[#003] sha256:68c3898c2015e66367dcdb126db7f1ad3d4284d84e2095671964e90a8d288fd7 - 3.32% (4.37 MB)

[#004] sha256:6b95a940e7b64b6a3312090f58127b6d725198b9be263e1878e1059abe692eeb - 0.0% (3.01 KB)

[#005] sha256:90986bb8de6ed46958837e14261553640aad289c15d741739b71b418fc8ebf0f - 0.0% (331 Bytes)

[#006] sha256:ae71319cb7793e84b1f0ba04d4cc4a0d8a9a0387b1cd8895ebff9218d81388a3 - 18.52% (24.4 MB)

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

[#008] sha256:43d05e938198ff7303eee62b5a3c2598c927954ea4cbeceac121101b281db972 - 40.82% (53.7 MB)

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

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


History
2023-12-12 19:11:08 UTC

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

2023-12-12 19:11:08 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; yum install -y --setopt=skip_missing_names_on_install=False oracle-epel-release-el7; yum install -y --setopt=skip_missing_names_on_install=False bzip2 gzip openssl xz zstd ; yum 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=5.7

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

ENV MYSQL_VERSION=5.7.44-1.el7

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

RUN /bin/sh -c set -eu; { echo '[mysql5.7-server-minimal]'; echo 'name=MySQL 5.7 Server Minimal'; echo 'enabled=1'; echo 'baseurl=https://repo.mysql.com/yum/mysql-5.7-community/docker/el/7/$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; yum install -y --setopt=skip_missing_names_on_install=False "mysql-community-server-minimal-$MYSQL_VERSION"; yum 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; { echo '!includedir /etc/mysql/mysql.conf.d/'; } >> /etc/my.cnf; mkdir -p /etc/mysql/mysql.conf.d; find /etc/my.cnf /etc/mysql/ -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log)' | xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/'; 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/7/$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.el7

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

RUN /bin/sh -c set -eux; yum install -y --setopt=skip_missing_names_on_install=False "mysql-shell-$MYSQL_SHELL_VERSION"; yum 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"]

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