Merge "Fix swift build issue"
This commit is contained in:
commit
af7092151a
@ -9,6 +9,19 @@ RUN yum -y install openstack-swift \
|
||||
|
||||
{% endif %}
|
||||
{% elif install_type == 'source' %}
|
||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||
|
||||
RUN yum -y install \
|
||||
liberasurecode-devel \
|
||||
&& yum clean all
|
||||
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
liberasurecode-dev \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
|
||||
ADD swift-base-archive /swift-base-source
|
||||
RUN ln -s swift-base-source/* swift \
|
||||
|
Loading…
Reference in New Issue
Block a user