From 6091b1a124fbdd8aaa47c731f7ac7cfdb15590a1 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 2 Apr 2019 16:32:45 +0200 Subject: [PATCH] Greenwave: become root before installing fedora-messaging Signed-off-by: Clement Verna --- roles/openshift-apps/greenwave/templates/buildconfig.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml b/roles/openshift-apps/greenwave/templates/buildconfig.yml index 807d0d2650..5ae140c213 100644 --- a/roles/openshift-apps/greenwave/templates/buildconfig.yml +++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml @@ -11,8 +11,9 @@ spec: {% if env == 'staging' %} # See imagestream.yml for the definition FROM greenwave-upstream:latest - + USER 0 RUN dnf -y install python3-fedora-messaging && dnf clean all + USER 1001 {% else %} # See imagestream.yml for the definition FROM greenwave-upstream:latest