From e2e3854a9948014a4f862df220c60c3cc62f31e0 Mon Sep 17 00:00:00 2001 From: Sanja Bonic <86982064+sanjacodes@users.noreply.github.com> Date: Mon, 11 Apr 2022 14:20:47 +0200 Subject: [PATCH] Update Dockerfile (#219) * Update Dockerfile * Change team name --- containers/Dockerfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/containers/Dockerfile b/containers/Dockerfile index 85cb24eb..3d5c08a2 100644 --- a/containers/Dockerfile +++ b/containers/Dockerfile @@ -2,9 +2,9 @@ FROM quay.io/openshift/origin-tests:latest as origintests -FROM quay.io/centos/centos:7 +FROM quay.io/centos/centos:stream9 -MAINTAINER Red Hat OpenShift Performance and Scale +LABEL org.opencontainers.image.authors="Red Hat OpenShift Chaos Engineering" ENV KUBECONFIG /root/.kube/config @@ -14,14 +14,15 @@ COPY --from=origintests /usr/bin/kubectl /usr/bin/kubectl # Install dependencies RUN yum install epel-release -y && \ -yum install -y git python36 python3-pip jq gettext && \ -python3 -m pip install -U pip && \ -rpm --import https://packages.microsoft.com/keys/microsoft.asc && \ -echo -e "[azure-cli]\nname=Azure CLI\nbaseurl=https://packages.microsoft.com/yumrepos/azure-cli\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/azure-cli.repo && yum install -y azure-cli && \ -git clone https://github.com/openshift-scale/kraken /root/kraken && \ -mkdir -p /root/.kube && cd /root/kraken && \ -pip3 install -r requirements.txt + yum install -y git python python3-pip jq gettext && \ + python3 -m pip install -U pip && \ + rpm --import https://packages.microsoft.com/keys/microsoft.asc && \ + echo -e "[azure-cli]\nname=Azure CLI\nbaseurl=https://packages.microsoft.com/yumrepos/azure-cli\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/azure-cli.repo && yum install -y azure-cli && \ + git clone https://github.com/openshift-scale/kraken /root/kraken && \ + mkdir -p /root/.kube && cd /root/kraken && \ + pip3 install -r requirements.txt WORKDIR /root/kraken -ENTRYPOINT python3 run_kraken.py --config=config/config.yaml +ENTRYPOINT ["python3", "run_kraken.py"] +CMD ["--config=config/config.yaml"]