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'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
|
# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue
|
||||||
RUN yum -y install \
|
RUN yum -y install \
|
||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
@ -11,6 +12,7 @@ RUN yum -y install \
|
|||||||
libxslt-devel \
|
libxslt-devel \
|
||||||
mariadb-devel \
|
mariadb-devel \
|
||||||
mariadb-libs \
|
mariadb-libs \
|
||||||
|
MariaDB-shared \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
python-devel \
|
python-devel \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
|
@ -2,11 +2,12 @@ FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|||||||
MAINTAINER {{ maintainer }}
|
MAINTAINER {{ maintainer }}
|
||||||
|
|
||||||
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
|
||||||
|
# TODO(mandre) remove MariaDB-shared once Percona has fixed its packaging issue
|
||||||
RUN yum -y install \
|
RUN yum -y install \
|
||||||
git \
|
git \
|
||||||
iproute \
|
iproute \
|
||||||
mariadb-libs \
|
mariadb-libs \
|
||||||
MySQL-python \
|
MariaDB-shared \
|
||||||
openssl \
|
openssl \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user