kolla-ansible/docker_templates/gnocchi/gnocchi-api/Dockerfile.j2
Sam Yaple 73a356e951 Ubuntu - Gnocchi
Change-Id: I3d8ddf5b54d79d66fd74ed85e9cc65b0ce7201c0
Partially-Implements: blueprint install-from-ubuntu
2015-08-24 13:35:26 +00:00

20 lines
496 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-api \
openstack-gnocchi-carbonara \
openstack-gnocchi-indexer-sqlalchemy \
&& yum clean all
{% endif %}
{% endif %}
COPY start.sh /
COPY config-external.sh /opt/kolla/
CMD ["/start.sh"]