Fix centos-source trove image building

It appears Trove still depends on MySQL-python.
Restore the workaround for broken Percona repo.

Closes-Bug: #1531371
Related-Bug: #1526129
Change-Id: I1781fee14e17a6b7cbb2cf8dae639e049698b9e6
This commit is contained in:
Martin André 2016-01-06 12:34:11 +09:00
parent eda2b56e3c
commit edf0468c62

View File

@ -11,6 +11,15 @@ RUN yum -y install \
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue
# https://groups.google.com/forum/#!topic/percona-discussion/8-k_FS40Cdk
RUN yum -y install \
MariaDB-shared \
&& yum clean all
{% endif %}
ADD trove-base-archive /trove-base-source
RUN ln -s trove-base-source/* trove \