kolla-ansible/docker/swift/swift-account-auditor/Dockerfile.j2
Jeffrey Zhang 305020c209 Add the rhel in the base_distro condition in swift dockerfile
Closes-Bug: #1528446
Change-Id: I781a1f3617fedc96da5a0837ecf988fb9a366d44
2015-12-22 13:34:30 +08:00

14 lines
313 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}swift-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install openstack-swift-account \
&& yum clean all
{% endif %}
{% endif %}
{{ include_footer }}