aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-04-19 11:15:19 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2017-04-19 11:18:31 +0200
commitf0aaa45fd7932508bcee3311a34b632433502a4a (patch)
tree14a24cc74a141713bc6e60de516ddda120d96a4b /docker
parent1cad4813b60dcea08587375e7cfd7b3f8b407592 (diff)
downloadkolla-f0aaa45fd7932508bcee3311a34b632433502a4a.tar.gz
kolla-f0aaa45fd7932508bcee3311a34b632433502a4a.zip
grafana: disable for non-x86
Kolla depends on upstream version of Grafana and those are provided only for x86-64 architecture. On other archs package from distribution can be fetched but build then fail due to version differences. And it does not look like there will be newer version in distributions: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835210 Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I62911fd3cabdc25c23e93d621ebe2464f8e4fb6e
Diffstat (limited to 'docker')
-rw-r--r--docker/grafana/Dockerfile.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/grafana/Dockerfile.j2 b/docker/grafana/Dockerfile.j2
index cf4665b97..c86d674c6 100644
--- a/docker/grafana/Dockerfile.j2
+++ b/docker/grafana/Dockerfile.j2
@@ -5,6 +5,13 @@ 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'] %}