From 232c571e9940109d160c7d77a3b0f8c27bd73462 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Fri, 26 Jul 2024 14:00:47 -0400 Subject: [PATCH 1/2] taking out oc rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- prow/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/prow/Dockerfile b/prow/Dockerfile index 14e9b747..655179b2 100644 --- a/prow/Dockerfile +++ b/prow/Dockerfile @@ -2,6 +2,5 @@ FROM quay.io/openshifttest/python:3.9 LABEL vendor="Red Hat Inc." maintainer="OCP QE Team" - RUN apt-get update && apt-get install -y gettext-base uuid-runtime jq openssh-client sshpass && \ ln -s /bin/bash /usr/bin/bash && /usr/local/bin/python -m pip install --upgrade pip && pip install virtualenv jq From c19cddce43d142939c44ab35e5da60e3a84bf512 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Wed, 21 Aug 2024 16:38:40 -0400 Subject: [PATCH 2/2] adding kubectl rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- prow/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prow/Dockerfile b/prow/Dockerfile index 655179b2..c93db1ca 100644 --- a/prow/Dockerfile +++ b/prow/Dockerfile @@ -2,5 +2,8 @@ FROM quay.io/openshifttest/python:3.9 LABEL vendor="Red Hat Inc." maintainer="OCP QE Team" +RUN curl -sSL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux-amd64-rhel8.tar.gz | tar -xvzf - &&\ + mv kubectl /bin + RUN apt-get update && apt-get install -y gettext-base uuid-runtime jq openssh-client sshpass && \ ln -s /bin/bash /usr/bin/bash && /usr/local/bin/python -m pip install --upgrade pip && pip install virtualenv jq