Merge "grafana: disable for non-x86"

This commit is contained in:
Jenkins 2017-04-20 13:04:29 +00:00 committed by Gerrit Code Review
commit e3312a58e5
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,13 @@ LABEL maintainer="{{ maintainer }}"
{% import "macros.j2" as macros with context %}
{% if base_arch != 'x86_64' %}
RUN echo 'There are no Grafana external repositories for {{ base_arch }}' \
&& /bin/false
{% endif %}
{{ macros.configure_user(name='grafana', homedir='/usr/share/grafana') }}
{% set grafana_packages = ['grafana'] %}