summaryrefslogtreecommitdiff
path: root/docker/gnocchi/gnocchi-metricd/Dockerfile.j2
blob: 5fda3852e22deaf0cf47dd05f4181d28baa3660d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM {{ namespace }}/{{ image_prefix }}gnocchi-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"

{% block gnocchi_metricd_header %}{% endblock %}

{% import "macros.j2" as macros with context %}

{% if install_type == 'binary' %}
    {% set gnocchi_metricd_packages = ['gnocchi-metricd'] %}
{{ macros.install_packages(gnocchi_metricd_packages | customizable("packages")) }}
{% endif %}

{% block gnocchi_metricd_footer %}{% endblock %}
{% block footer %}{% endblock %}

USER gnocchi