Fix swift build issue

Swift updates and new deps are needed, here is one

Closes-Bug: #1538377
Change-Id: Ibb890c73e462113c5aa29ab12637a9115bb51240
This commit is contained in:
SamYaple 2016-01-27 01:28:49 +00:00 committed by Sam Yaple
parent 2361fddcff
commit 76c88bbd1e

View File

@ -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 \