kolla/docker_templates/swift/swift-account-server/Dockerfile.j2
akwasniewska 0a1c94c33f Add Dockerfile template for swift
Change-Id: Ie500f9b8640129e464075e4bebd628cf4a4d7f86
Partially-Implements: blueprint dockerfile-template
2015-08-17 06:13:15 +02:00

18 lines
411 B
Django/Jinja

FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-swift-base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net.kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux'] %}
RUN yum -y install \
openstack-swift-account \
&& yum clean all
{% endif %}
{% endif %}
COPY start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]