FROM centos/mysql-57-centos7 USER root RUN INSTALL_PKGS="iproute rsync which socat percona-xtrabackup-24 bind-utils policycoreutils" && \ yum install -y epel-release && \ yum install -y http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm && \ yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ yum install -y --setopt=tsflags=nodocs mc && \ rpm -V $INSTALL_PKGS && \ yum clean all COPY root-galera / RUN rm -rf /etc/my.cnf.d/* && \ cp --remove-destination $(readlink /etc/my.cnf) /etc/my.cnf && \ /usr/libexec/container-setup && rpm-file-permissions USER 27