Merge "Regression: git is required to build from source on ubuntu"
This commit is contained in:
commit
cde1d73aeb
docker
@ -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
|
||||
|
@ -15,6 +15,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
libffi-dev \
|
||||
libyaml-dev \
|
||||
pkg-config \
|
||||
git \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user