kolla-ansible/docker_templates/gnocchi/gnocchi-statsd/Dockerfile.j2
Swapnil Kulkarni 8758435d40 Add Dockerfile template for Gnocchi
Change-Id: I15e6a06645361aec979d7dad4794b45236c957e3
Partially-Implements: blueprint dockerfile-template
2015-08-19 15:02:07 +00:00

17 lines
404 B
Django/Jinja

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