Swift ubuntu binary container

Change-Id: I4ead909143c0089d5b07568b27dc37222da95561
Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
MD NADEEM 2016-02-08 12:22:14 +05:30 committed by MD NADEEM
parent 2514bcf0c3
commit a7dcf89c2a
5 changed files with 30 additions and 0 deletions

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-swift-account \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
swift-account \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-swift \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
swift \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-swift-container \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
swift-container \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-swift-object \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
swift-object \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-swift-proxy \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
swift-proxy \
&& apt-get clean
{% endif %}
{% endif %}