Sign inSign up
percona logo

percona:ps-8

Also known as:
8
8-centos
8.0
8.0-centos
8.0.46-37

+ 3 more

Databases & storage
Index digest

sha256:55e81df800e40eb7cce705430fe9f661157c696b8c845989ccdc81bc849d5dc9

OS/ARCH

linux/amd64

Compressed size

392.42 MB

Last pushed

2 days by doijanky

Type

Image

Vulnerabilities

1
26
44
15
0

Manifest digest

sha256:569c2213fcd7a31fc659e2f502fedd3351a3ca82e691e9704cc77a6759aeb734

Layers (42)

redhat/ubi9-minimal:latest
0
0
0
0
0
percona:ps-8
1
26
44
15
0

19

RUN /bin/sh -c set -ex; groupadd -g 1001 mysql; useradd -u 1001 -r -g 1001 -s /sbin/nologin -m -c "Default Application User" mysql # buildkit

1.38 KB


20

ENV PS_VERSION=8.0.46-37.1

0 B


21

ENV MYSQL_SHELL_VERSION=8.0.46-1

0 B


22

ENV OS_VER=el9

0 B


23

ENV FULL_PERCONA_VERSION=8.0.46-37.1.el9

0 B


24

ENV FULL_MYSQL_SHELL_VERSION=8.0.46-1.el9

0 B


25

ENV PS_REPO=testing

0 B


26

ENV PS_TELEMETRY_VERSION=8.0.46-37-1

0 B


27

ENV CALL_HOME_DOWNLOAD_SHA256=5e84d2f1a5d57f44c46e6a1f16794d649d3de09fe8021f0294bc321c89e51068

0 B


28

ENV KEY_RPM_DOWNLOAD_SHA256=fcf0eab4f05a1c0de6363ac4b707600a27a9d774e9b491059e59e6921b255a84

0 B


29

ENV CALL_HOME_VERSION=0.1

0 B


30

ARG PERCONA_TELEMETRY_DISABLE=1

0 B


31

RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D; gpg --batch --export --armor 4D1BB29D63D98E422B2113B19334A25F8507EFA5 > ${GNUPGHOME}/PERCONA-PACKAGING-KEY; gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${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; microdnf install -y findutils; 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}; curl -O https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9; echo "$KEY_RPM_DOWNLOAD_SHA256 RPM-GPG-KEY-EPEL-9" | sha256sum --strict --check; rpm --import RPM-GPG-KEY-EPEL-9; curl -Lf -o /tmp/jemalloc.rpm https://rpmfind.net/linux/epel/9/Everything/x86_64/Packages/j/jemalloc-5.2.1-2.el9.x86_64.rpm; curl -Lf -o /tmp/gflags.rpm https://rpmfind.net/linux/epel/9/Everything/x86_64/Packages/g/gflags-2.2.2-9.el9.x86_64.rpm; rpmkeys --checksig /tmp/gflags.rpm /tmp/jemalloc.rpm; rpm -i /tmp/jemalloc.rpm; rpm -i /tmp/gflags.rpm; rm -f /tmp/gflags.rpm /tmp/jemalloc.rpm # buildkit

9.35 MB


32

RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -ex; rpm -e --nodeps tzdata; microdnf -y install hostname tzdata jemalloc which cracklib-dicts tar policycoreutils; microdnf -y update libnghttp2 openssh python3-setuptools-wheel krb5-libs pam python3; microdnf -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}; microdnf clean all; rm -rf /var/cache/dnf /var/cache/yum /var/lib/mysql # buildkit

361.42 MB


33

RUN |1 PERCONA_TELEMETRY_DISABLE=1 /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]\nhost_cache_size=0\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

1.12 KB


34

VOLUME [/var/lib/mysql /var/log/mysql]

0 B


35

RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -eux; curl -fL "https://github.com/Percona-Lab/telemetry-agent/archive/refs/tags/phase-$CALL_HOME_VERSION.tar.gz" -o "phase-$CALL_HOME_VERSION.tar.gz"; echo "$CALL_HOME_DOWNLOAD_SHA256 phase-$CALL_HOME_VERSION.tar.gz" | sha256sum --strict --check; tar -xvf phase-$CALL_HOME_VERSION.tar.gz; cp telemetry-agent-phase-$CALL_HOME_VERSION/call-home.sh .; rm -rf telemetry-agent-phase-$CALL_HOME_VERSION phase-$CALL_HOME_VERSION.tar.gz; chmod a+rx /call-home.sh; mkdir -p /usr/local/percona; chown mysql:mysql /usr/local/percona # buildkit

3.96 KB


36

ENV CALL_HOME_OPTIONAL_PARAMS= -s el9

0 B


37

COPY ps-entry-dockerhub.sh /docker-entrypoint.sh # buildkit

3.28 KB


38

ENTRYPOINT ["/docker-entrypoint.sh"]

0 B


39

USER mysql

0 B


40

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

0 B


41

CMD ["mysqld"]

0 B