From 56ff0a8c7204c58d8c5ded71e4b71a2e1d2bbf12 Mon Sep 17 00:00:00 2001 From: Naga Ravi Chaitanya Elluri Date: Tue, 16 Jul 2024 12:21:51 -0400 Subject: [PATCH] Deprecate setting release version in the container source file This commit also deprecates building container image for ppc64le as it is not actively maintained. We will add support if users request for it in the future. Signed-off-by: Naga Ravi Chaitanya Elluri --- containers/Dockerfile | 3 --- containers/Dockerfile-ppc64le | 24 ------------------------ 2 files changed, 27 deletions(-) delete mode 100644 containers/Dockerfile-ppc64le diff --git a/containers/Dockerfile b/containers/Dockerfile index e53848ac..b87ae0a7 100644 --- a/containers/Dockerfile +++ b/containers/Dockerfile @@ -17,9 +17,6 @@ ARG TAG RUN groupadd -g 1001 krkn && useradd -m -u 1001 -g krkn krkn RUN dnf update -y -# krkn version that will be built -ENV KRKN_VERSION v1.6.2 - ENV KUBECONFIG /home/krkn/.kube/config # install kubectl diff --git a/containers/Dockerfile-ppc64le b/containers/Dockerfile-ppc64le deleted file mode 100644 index 875e5deb..00000000 --- a/containers/Dockerfile-ppc64le +++ /dev/null @@ -1,24 +0,0 @@ -# Dockerfile for kraken - -FROM ppc64le/centos:8 - -LABEL org.opencontainers.image.authors="Red Hat OpenShift Chaos Engineering" - -ENV KUBECONFIG /root/.kube/config - -# Install dependencies -RUN yum install -y git python39 python3-pip jq gettext wget && \ - python3.9 -m pip install -U pip && \ - git clone https://github.com/redhat-chaos/krkn.git --branch v1.5.14 /root/kraken && \ - mkdir -p /root/.kube && cd /root/kraken && \ - pip3.9 install -r requirements.txt && \ - pip3.9 install virtualenv && \ - wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq - -# Get Kubernetes and OpenShift clients from stable releases -WORKDIR /tmp -RUN wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz && tar -xvf openshift-client-linux.tar.gz && cp oc /usr/local/bin/oc && cp oc /usr/bin/oc && cp kubectl /usr/local/bin/kubectl && cp kubectl /usr/bin/kubectl - -WORKDIR /root/kraken - -ENTRYPOINT python3.9 run_kraken.py --config=config/config.yaml