vitess/tablet (15.0.3-0.0.1)
Published 2023-07-27 10:40:01 +03:00 by p.merzlyakov
Installation
docker pull git.bit5.ru/backend/vitess/tablet:15.0.3-0.0.1
sha256:9d7e227b0bb63bf8b7d1e7471a6a18d2650e5d0f66f4495d333070cbc7d369bd
Image Layers
ADD file:09a779e3744503ad74fe46c0abd0efdd183badfeac67506e804257f79c4fc9ee in / |
CMD ["/bin/bash"] |
LABEL org.opencontainers.image.authors=info@percona.com |
ENV PS_VERSION=8.0.32-24.1 |
ENV MYSQL_SHELL_VERSION=8.0.32-1 |
ENV OS_VER=el9 |
ENV FULL_PERCONA_VERSION=8.0.32-24.1.el9 |
ENV FULL_MYSQL_SHELL_VERSION=8.0.32-1.el9 |
ENV PS_REPO=testing |
RUN /bin/sh -c set -ex; groupdel input; userdel systemd-coredump; groupadd -g 1001 mysql; useradd -u 1001 -r -g 1001 -s /sbin/nologin -m -c "Default Application User" mysql # buildkit |
RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A 99DB70FAE1D7CE227FB6488205B555B38483C65D; gpg --batch --export --armor 430BDF5C56E7C94E848EE60C1C4CBDCDCD2EFD2A > ${GNUPGHOME}/RPM-GPG-KEY-Percona; gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; rpmkeys --import ${GNUPGHOME}/RPM-GPG-KEY-Percona ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; rpmkeys --checksig /tmp/percona-release.rpm; rpm -i /tmp/percona-release.rpm; rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY; percona-release disable all; percona-release enable ps-80 ${PS_REPO}; percona-release enable mysql-shell ${PS_REPO} # buildkit |
RUN /bin/sh -c set -ex; dnf -y update; dnf -y install crypto-policies-scripts; dnf -y install epel-release; rpm -e --nodeps tzdata; fips-mode-setup --enable; dnf -y install hostname tzdata jemalloc which cracklib-dicts tar policycoreutils; dnf -y install percona-server-server-${FULL_PERCONA_VERSION} percona-server-devel-${FULL_PERCONA_VERSION} percona-server-rocksdb-${FULL_PERCONA_VERSION} percona-icu-data-files-${FULL_PERCONA_VERSION} percona-mysql-shell-${FULL_MYSQL_SHELL_VERSION}; dnf clean all; rm -rf /var/cache/dnf /var/cache/yum /var/lib/mysql # buildkit |
RUN /bin/sh -c set -ex; /usr/bin/install -m 0775 -o mysql -g root -d /var/lib/mysql /var/run/mysqld /docker-entrypoint-initdb.d; find /etc/my.cnf /etc/my.cnf.d -name '*.cnf' -print0 | xargs -0 grep -lZE '^(bind-address|log|user)' | xargs -rt -0 sed -Ei 's/^(bind-address|log|user)/#&/'; echo '!includedir /etc/my.cnf.d' >> /etc/my.cnf; printf '[mysqld]\nskip-host-cache\nskip-name-resolve\n' > /etc/my.cnf.d/docker.cnf; /usr/bin/install -m 0664 -o mysql -g root /dev/null /etc/sysconfig/mysql; echo "LD_PRELOAD=/usr/lib64/libjemalloc.so.1" >> /etc/sysconfig/mysql; echo "THP_SETTING=never" >> /etc/sysconfig/mysql; chown -R mysql:root /etc/my.cnf /etc/my.cnf.d; chmod -R ug+rwX /etc/my.cnf /etc/my.cnf.d # buildkit |
VOLUME [/var/lib/mysql /var/log/mysql] |
COPY ps-entry.sh /docker-entrypoint.sh # buildkit |
ENTRYPOINT ["/docker-entrypoint.sh"] |
USER mysql |
EXPOSE map[3306/tcp:{} 33060/tcp:{}] |
CMD ["mysqld"] |
ARG VITESS_VERSION=16.0.2 |
ARG MYSQL_VERSION=8.0.32 |
USER root |
ENV VTROOT=/vt |
ENV VTDATAROOT=/vt/data |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/vt/bin |
RUN |2 VITESS_VERSION=15.0.3 MYSQL_VERSION=8.0.32 /bin/sh -c useradd -MU vitess && mkdir -p ${VTROOT} ${VTDATAROOT} && chown -R vitess:vitess ${VTROOT} ${VTDATAROOT} # buildkit |
COPY /vt/bin/mysqlctl /vt/bin/mysqlctld /vt/bin/vttablet /vt/bin/vtctldclient /vt/bin/ # buildkit |
COPY ./start-tablet.sh /vt/scripts/ # buildkit |
USER vitess |
CMD ["/bin/sh" "-c" "${VTROOT}/scripts/start-tablet.sh"] |
LABEL description=Contains mysqlctl, mysqlctld, vttablet, vtctldclient binaries mysql.version=8.0.32 vitess.version=15.0.3 |
Labels
Key | Value |
---|---|
description | Contains mysqlctl, mysqlctld, vttablet, vtctldclient binaries |
mysql.version | 8.0.32 |
org.opencontainers.image.authors | info@percona.com |
vitess.version | 15.0.3 |
Details
2023-07-27 10:40:01 +03:00
Versions (2)
View all
Container
11
OCI / Docker
linux/amd64
info@percona.com
495 MiB
15.0.3-0.0.1
2023-07-27
16.0.1
2023-05-04