From dfc336ded269f5a83c75693486b4302b3e29fc30 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 7 Apr 2020 22:13:49 +0000 Subject: [PATCH] base/centos: influxdb repo is only on x86-64 Change-Id: I98147939ccfeeb7b3e86b5e33c427372663ecf9b --- docker/base/Dockerfile.j2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 5bba199ed4..9670dcdf40 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -260,8 +260,15 @@ COPY ceph.repo /etc/yum.repos.d/ {% set base_centos_yum_repos_to_disable = [ 'centos-ceph-nautilus', 'centos-nfs-ganesha28', - 'influxdb', ] %} + + +{% if base_arch == 'x86_64' %} + {% set base_centos_yum_repos_to_disable = base_centos_yum_repos_to_disable + [ + 'influxdb', + ] %} +{% endif %} + {% if distro_package_manager == 'yum' %} {% set base_centos_yum_repos_to_disable = base_centos_yum_repos_to_disable + [ 'centos-qemu-ev',