From 5c0c2d2448f88a82bcc29b6771f90202011cbb1b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 18 Mar 2021 15:40:47 +0100 Subject: centos: enable PowerTools repo in images which needs it We moved to CentOS Stream 8. Just no one noticed that binary target was failing to build. This change sorts out all failing images. Change-Id: Ia7768caabfe214a629339d50973d0d9873fc65d5 --- docker/horizon/Dockerfile.j2 | 1 + docker/rally/Dockerfile.j2 | 1 + docker/tempest/Dockerfile.j2 | 1 + docker/vitrage/vitrage-base/Dockerfile.j2 | 1 + docker/watcher/watcher-base/Dockerfile.j2 | 1 + 5 files changed, 5 insertions(+) (limited to 'docker') diff --git a/docker/horizon/Dockerfile.j2 b/docker/horizon/Dockerfile.j2 index e7f6b8d61..1b1a09078 100644 --- a/docker/horizon/Dockerfile.j2 +++ b/docker/horizon/Dockerfile.j2 @@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{{ macros.enable_extra_repos(['powertools']) }} {{ macros.configure_user(name='horizon') }} {% if install_type == 'binary' %} diff --git a/docker/rally/Dockerfile.j2 b/docker/rally/Dockerfile.j2 index d72830ae0..36d7fea25 100644 --- a/docker/rally/Dockerfile.j2 +++ b/docker/rally/Dockerfile.j2 @@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{{ macros.enable_extra_repos(['powertools']) }} {{ macros.configure_user(name='rally') }} {% if install_type == 'binary' %} diff --git a/docker/tempest/Dockerfile.j2 b/docker/tempest/Dockerfile.j2 index c6f36c39e..f56742fff 100644 --- a/docker/tempest/Dockerfile.j2 +++ b/docker/tempest/Dockerfile.j2 @@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{{ macros.enable_extra_repos(['powertools']) }} {{ macros.configure_user(name='tempest') }} {% if install_type == 'binary' %} diff --git a/docker/vitrage/vitrage-base/Dockerfile.j2 b/docker/vitrage/vitrage-base/Dockerfile.j2 index c61ad3517..89b3d04d0 100644 --- a/docker/vitrage/vitrage-base/Dockerfile.j2 +++ b/docker/vitrage/vitrage-base/Dockerfile.j2 @@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{{ macros.enable_extra_repos(['powertools']) }} {{ macros.configure_user(name='vitrage') }} {% if install_type == 'binary' %} diff --git a/docker/watcher/watcher-base/Dockerfile.j2 b/docker/watcher/watcher-base/Dockerfile.j2 index 961839a55..9e1f645ca 100644 --- a/docker/watcher/watcher-base/Dockerfile.j2 +++ b/docker/watcher/watcher-base/Dockerfile.j2 @@ -7,6 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +{{ macros.enable_extra_repos(['powertools']) }} {{ macros.configure_user(name='watcher') }} {% if install_type == 'binary' %} -- cgit v1.2.3