Merge "Fix MySQL-python build on Centos"
This commit is contained in:
commit
7f22109d06
@ -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 \
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user