Regression: git is required to build from source on ubuntu
- this change fixes a regression of bug/1481560 - this change re-adds git to the openstack base image when building images from source on ubuntu. - removed explicit git install from kolla-ansible Closes-Bug: #1496561 Change-Id: Ia8a125e40bc6510af6d44c5317647be7ce27b0d6
This commit is contained in:
parent
7088e885f8
commit
a242b51bbc
@ -4,7 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
RUN yum -y install \
|
RUN yum -y install \
|
||||||
git \
|
|
||||||
gcc \
|
gcc \
|
||||||
libffi-devel \
|
libffi-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
@ -16,11 +15,6 @@ RUN yum -y install \
|
|||||||
|
|
||||||
RUN pip install -U pip wheel
|
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 %}
|
{% endif %}
|
||||||
|
|
||||||
RUN pip --no-cache-dir install shade
|
RUN pip --no-cache-dir install shade
|
||||||
|
@ -15,6 +15,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||||||
libffi-dev \
|
libffi-dev \
|
||||||
libyaml-dev \
|
libyaml-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
|
git \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user