Skip to content

Commit

Permalink
Update Dockerfile to install rosa cli (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
chetna14manku authored Sep 25, 2024
1 parent ff1b605 commit 6284035
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6284035

Please sign in to comment.