From a40989c002a3341f98eaf4c213401960ab489a52 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Fri, 23 Oct 2015 02:54:02 -0700 Subject: [PATCH] Use EL7 repostitory instead of EL6 for percona This patch uses the EL7 binary bits for percona's software instead of EL6. To match binary ABIs, it is recommended to use the same major version of EL for CentOS. backport: liberty Change-Id: I1d2b146a036806c7fd2baef97a6ed861a570d26e Partial-Fix: #1509281 --- docker/base/Dockerfile.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index e1ef6d7ae2..8ae651b7e5 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -44,8 +44,7 @@ COPY mariadb.yum.repo /etc/yum.repos.d/MariaDB.repo COPY ceph.yum.repo /etc/yum.repos.d/ceph.repo -RUN yum install -y http://www.percona.com/redir/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm \ - && sed -i 's|$releasever|centos/latest|g' /etc/yum.repos.d/percona-release.repo +RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm {% if install_metatype in ['rdo', 'mixed'] %}