Skip to content
Snippets Groups Projects
Commit 7e4f7813 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Improve dry-ness of base dockerfile.j2"

parents a466bcb9 c7a9835b
No related branches found
No related tags found
No related merge requests found
...@@ -47,12 +47,10 @@ COPY ceph.yum.repo /etc/yum.repos.d/ceph.repo ...@@ -47,12 +47,10 @@ 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 \ 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 && sed -i 's|$releasever|centos/latest|g' /etc/yum.repos.d/percona-release.repo
{% if install_metatype == 'rdo' %} {% if install_metatype in ['rdo', 'mixed'] %}
# This repository provides all dependencies used by RDO OpenStack # These repos provide latest packages built from trunk master into RPMs
RUN yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm RUN curl http://trunk.rdoproject.org/centos7/current-passed-ci/delorean.repo -o /etc/yum.repos.d/delorean.repo
# This repository provides latest packages built from trunk master into RPMs
RUN curl http://trunk.rdoproject.org/centos7/current/delorean.repo -o /etc/yum.repos.d/delorean-current.repo
RUN curl http://trunk.rdoproject.org/centos7/delorean-deps.repo -o /etc/yum.repos.d/delorean-deps.repo RUN curl http://trunk.rdoproject.org/centos7/delorean-deps.repo -o /etc/yum.repos.d/delorean-deps.repo
{% endif %} {% endif %}
...@@ -133,14 +131,6 @@ RUN yum install -y \ ...@@ -133,14 +131,6 @@ RUN yum install -y \
{% if install_type == 'source' %} {% if install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
# Set up repositories
RUN yum install -y https://rdo.fedorapeople.org/rdo-release.rpm \
&& yum clean all
{% endif %}
# Update packages # Update packages
RUN yum -y install \ RUN yum -y install \
curl \ curl \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment