From b2c0a9daba01a07a048e0dff659e019b4fa557d9 Mon Sep 17 00:00:00 2001
From: Dimitra Chatzichrysou <dimitra.chatzichrysou@cern.ch>
Date: Tue, 19 Apr 2022 13:33:43 +0200
Subject: [PATCH] Update openstack client installation for CentOS Stream 8

---
 Dockerfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 34a4264..d7ffb2a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,14 +6,15 @@ LABEL maintainer="Drupal Admins <drupal-admins@cern.ch>"
 # TODO: Download the binary for restic install, instead of using copart/restic repo
 ARG restic_version=0.12.1
 
-RUN yum install epel-release -y && \
+RUN yum update -y && \
+    yum install epel-release -y && \
     # install restic
     yum install yum-plugin-copr -y && \
     yum copr enable copart/restic -y && \
     yum install restic-${restic_version} -y && \
     # we need this to interact with manila OpenStack to get CephFS information
-    yum install centos-release-openstack-train -y && \
-    yum install -y /usr/bin/openstack --disableplugin=protectbase && \
+    yum install centos-release-openstack-xena -y && \
+    yum install -y /usr/bin/openstack python3-requests-kerberos && \
     yum clean all
 
 COPY ./tekton-task-templates /tekton-task-templates
-- 
GitLab