Merge "Fix MySQL-python build on Centos"

This commit is contained in:
Jenkins 2015-12-15 10:52:12 +00:00 committed by Gerrit Code Review
commit 7f22109d06
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue
RUN yum -y install \
gcc \
git \
@ -11,6 +12,7 @@ RUN yum -y install \
libxslt-devel \
mariadb-devel \
mariadb-libs \
MariaDB-shared \
openssl-devel \
python-devel \
openssh-clients \

View File

@ -2,11 +2,12 @@ FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue
RUN yum -y install \
git \
iproute \
mariadb-libs \
MySQL-python \
MariaDB-shared \
openssl \
&& yum clean all
{% endif %}