FROM mysql:8.4.11
COPY mysql-client.repo /etc/yum.repos.d/mysql-client.repo
RUN rpm -e mysql-community-server-minimal \
    && microdnf --disablerepo='*' --enablerepo=mysql84-client --enablerepo=ol9_baseos_latest --enablerepo=ol9_appstream \
    install -y mysql-community-client-8.4.11 \
    && microdnf clean all \
    && mysqlbinlog --version
ENTRYPOINT ["mysqlbinlog"]
