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:
parent
2361fddcff
commit
76c88bbd1e
@ -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