From 1b7b0e122520a06b88b335ba1cd768bbcd9c497b Mon Sep 17 00:00:00 2001 From: Rabin Yasharzadehe Date: Wed, 15 Nov 2023 12:34:28 +0200 Subject: [PATCH] Add extra repos to RUNNER stage Required to install google-chrome to run UI acceptance tests --- Docker_files/ocsci_container/Containerfile.ci | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Docker_files/ocsci_container/Containerfile.ci b/Docker_files/ocsci_container/Containerfile.ci index e77dfc37f820..da2b47446147 100644 --- a/Docker_files/ocsci_container/Containerfile.ci +++ b/Docker_files/ocsci_container/Containerfile.ci @@ -36,8 +36,13 @@ RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/s && mv kubectl /usr/local/bin/ RUN curl https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz | tar -C /usr/local/bin -zxvf - oc +COPY /Docker_files/ocsci_container/centos.repo /etc/yum.repos.d/ +COPY /Docker_files/ocsci_container/google-chrome.repo /etc/yum.repos.d/ -RUN dnf install -y --nodocs python38 git jq rsync make \ +# Install EPEL repos +# RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm + +RUN dnf install -y --nodocs --setopt=install_weak_deps=False python38 git jq rsync make google-chrome \ && dnf clean all \ && rm -rf /var/cache/yum /var/cache/dnf /var/lib/dnf/repos /var/log/dnf.librepo.log /var/log/dnf.log /var/log/dnf.rpm.log /var/log/hawkey.log /var/cache/ldconfig \ && curl -sL https://github.com/mikefarah/yq/releases/download/v4.32.2/yq_linux_amd64.tar.gz | tar -C /usr/local/bin -zxvf - ./yq_linux_amd64 \