Merge "Regression: git is required to build from source on ubuntu"

This commit is contained in:
Jenkins 2015-09-21 14:12:14 +00:00 committed by Gerrit Code Review
commit cde1d73aeb
2 changed files with 1 additions and 6 deletions

View File

@ -4,7 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
git \
gcc \
libffi-devel \
libxml2-devel \
@ -16,11 +15,6 @@ RUN yum -y install \
RUN pip install -U pip wheel
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends git \
&& apt-get clean
{% endif %}
RUN pip --no-cache-dir install shade

View File

@ -15,6 +15,7 @@ RUN apt-get install -y --no-install-recommends \
libffi-dev \
libyaml-dev \
pkg-config \
git \
&& apt-get clean
{% endif %}