aboutsummaryrefslogtreecommitdiff
path: root/docker/gnocchi/gnocchi-api/Dockerfile.j2
blob: 9ca70113cd5472ee4ee0d1501f7ac9966b9f2e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]

{{ include_footer }}