Make kolla-toolbox container build on CentOS bin

Ansible installs pytz from pip which is newer then then pytz in
RDO repositories.  As part of this process, it removes pytz
which corrupts the python installation in some way.  This causes
further pip usage to produce a backtrace causing the kolla-toolbox
container not to build.

Mixing pip and RPM is not good.

Change-Id: I413468641bad5476cfcba61cb0e2189c31f3d682
Closes-Bug: #1545215
This commit is contained in:
Steven Dake 2016-01-29 18:46:38 -07:00
parent e92b18a8a8
commit 5dd79bbbef

View File

@ -16,7 +16,8 @@ RUN yum -y install \
openssl-devel \ openssl-devel \
python-devel \ python-devel \
openssh-clients \ openssh-clients \
&& yum clean all && yum clean all \
&& yum -y remove pytz
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}