Namespace
library
Image / Tag
mysql:5.7.42-oracle
Content Digest
sha256:2eabad08824e3120dbec9096c276e3956e1922636c06fbb383ae9ea9c499bf43
Details
Created

2023-07-25 01:40:08 UTC

Size

162 MB

Content Digest
Environment
GOSU_VERSION

1.16

MYSQL_MAJOR

5.7

MYSQL_SHELL_VERSION

8.0.34-1.el7

MYSQL_VERSION

5.7.42-1.el7

PATH

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


Layers

[#000] sha256:70e9ff4420fbc58483e68c13199a06c24b14013b2548998a7e367f59ca5157bc - 29.66% (48.1 MB)

[#001] sha256:7ca4383b183f283dc0ac1a0351f5cb31f75dbd244bee8dc0988af4a50f2c59df - 0.0% (872 Bytes)

[#002] sha256:3e282e7651b1612ff17f6246e0847dad6996add940329721a4756a1879f15a23 - 0.58% (961 KB)

[#003] sha256:1ffa0e0ca7078cd2e1abcaa6847bc545576fd23586b4ae3ccc90b31637f27b1f - 2.7% (4.39 MB)

[#004] sha256:6eb790cf638212f7a95cd187ed8515ff749c06d616bab23ee7ff4f87969533c7 - 0.0% (2.6 KB)

[#005] sha256:2b7ffc37d8e9c1691a3e04e9fcdf2409484ca22e3b8a1b81e30c0b0ad85551df - 0.0% (336 Bytes)

[#006] sha256:4393c12228b9628c8d3a8c421e92080b206ee9445951e9119fce64d61a7fd143 - 15.0% (24.4 MB)

[#007] sha256:389d2c130d520b0e7953b08faa0ad308866e0cb139cd341ddc16501aac8cc3a7 - 0.0% (315 Bytes)

[#008] sha256:ed0e2667409210fd996b0c9d1f8b7beccfde55fb2333ab740933f16a68ea173c - 52.06% (84.5 MB)

[#009] sha256:f8c72f236cd0004bebf358545db81bde2373557f98f40505c51874541f0ab662 - 0.0% (5.27 KB)

[#010] sha256:7a9cda718bb791d96ab90baddec90d24fc434b63fe73f41658c096b7823c0c3e - 0.0% (121 Bytes)


History
2023-06-14 07:21:40 UTC

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

2023-06-14 07:21:40 UTC

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

2023-06-14 09:53:50 UTC

/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

2023-06-14 09:53:50 UTC

/bin/sh -c #(nop) ENV GOSU_VERSION=1.16

2023-06-14 09:53:53 UTC

/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

2023-06-14 09:54:11 UTC

/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

2023-06-14 09:54:12 UTC

/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"

2023-06-14 09:54:12 UTC

/bin/sh -c #(nop) ENV MYSQL_MAJOR=5.7

2023-06-14 09:54:12 UTC

/bin/sh -c #(nop) ENV MYSQL_VERSION=5.7.42-1.el7

2023-06-14 09:54:13 UTC

/bin/sh -c set -eu; . /etc/os-release; { 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/${VERSION_ID%%[.-]*}/\$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

2023-06-14 09:54:31 UTC

/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

2023-06-14 09:54:31 UTC

/bin/sh -c set -eu; . /etc/os-release; { echo '[mysql-tools-community]'; echo 'name=MySQL Tools Community'; echo "baseurl=https://repo.mysql.com/yum/mysql-tools-community/el/${VERSION_ID%%[.-]*}/\$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

2023-07-25 01:39:21 UTC

/bin/sh -c #(nop) ENV MYSQL_SHELL_VERSION=8.0.34-1.el7

2023-07-25 01:40:06 UTC

/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

2023-07-25 01:40:07 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/mysql]

2023-07-25 01:40:07 UTC

/bin/sh -c #(nop) COPY file:e9c22353a1133b89c5bca24ecacd348acd094e50e5e5c45375a997c6b1f07192 in /usr/local/bin/

2023-07-25 01:40:08 UTC

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

2023-07-25 01:40:08 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2023-07-25 01:40:08 UTC

/bin/sh -c #(nop) EXPOSE 3306 33060

2023-07-25 01:40:08 UTC

/bin/sh -c #(nop) 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