Skip to content

Commit

Permalink
Updaing dockerfile to be inline with openshift CI (#752)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishnu Challa <vchalla@vchalla-thinkpadp1gen2.rmtusnc.csb>
Co-authored-by: Vishnu Challa <vchalla@vchalla-thinkpadp1gen2.rmtusnc.csb>
  • Loading branch information
vishnuchalla and Vishnu Challa authored Mar 3, 2025
1 parent 42e508a commit 80ab25a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ FROM quay.io/openshifttest/python:3.9
LABEL vendor="Red Hat Inc." maintainer="OCP Perfscale Team"

RUN curl -sSL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux-amd64-rhel8.tar.gz | tar -xvzf - &&\
mv oc /bin && mv kubectl /bin && apt-get update && apt-get install -y gettext-base uuid-runtime jq && \
mv oc /bin && mv kubectl /bin && 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

RUN curl -sSL $(curl -sSL https://api.github.com/repos/openshift/rosa/releases/latest | jq -r ".assets[] | select(.name == \"rosa_Linux_x86_64.tar.gz\") | .browser_download_url") | tar xvzf - &&\
mv rosa /bin && chmod 777 /bin/rosa

RUN curl -sSL $(curl -sSL https://api.github.com/repos/openshift-online/ocm-cli/releases/latest | jq -r ".assets[] | select(.name == \"ocm-linux-amd64\") | .browser_download_url") --output /bin/ocm && chmod 777 /bin/ocm

WORKDIR /e2e

RUN chown -R 777 /e2e
Expand Down

0 comments on commit 80ab25a

Please sign in to comment.