Deal with CentOS 7.1 breakage

The baseurl is busted in CentOS latest RDO images

Change-Id: Id619a28a6207a8c70835a12416e6f7b432d49811
This commit is contained in:
Steven Dake 2015-04-01 15:50:45 -07:00
parent cf3086ed3b
commit 82db9eb6c7

@ -5,6 +5,10 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm
RUN curl https://copr.fedoraproject.org/coprs/larsks/crux/repo/epel-7/larsks-crux-epel-7.repo -o /etc/yum.repos.d/larsks-crux-epel-7.repo
# CentOS 7.1 workaround
RUN sed "s/Derived from Red Hat Enterprise Linux 7.1 (Source)/7/" "/etc/yum.repos.d/rdo-release.repo" -i
RUN yum install -y epel-release && yum clean all
# Update packages