From 62840358b930f92446f7d9a3129bb71d90880df6 Mon Sep 17 00:00:00 2001 From: Chetna <69139323+chetna14manku@users.noreply.github.com> Date: Wed, 25 Sep 2024 17:11:49 +0530 Subject: [PATCH] Update Dockerfile to install rosa cli (#190) --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9c5fcaa..4e5426a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,14 @@ EXPOSE 5000 ENV PRE_COMMIT_HOME=/tmp ENV GOCACHE=/tmp/.cache/go-build + +# Install the Rosa CLI +RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/rosa/latest/rosa-linux.tar.gz --output /tmp/rosa-linux.tar.gz \ + && tar xvf /tmp/rosa-linux.tar.gz --no-same-owner \ + && mv rosa /usr/bin/rosa \ + && chmod +x /usr/bin/rosa \ + && rosa version + COPY pyproject.toml poetry.lock README.md /ci-jobs-trigger/ COPY ci_jobs_trigger/ /ci-jobs-trigger/ci_jobs_trigger/ WORKDIR /ci-jobs-trigger