Skip to content

Commit

Permalink
install tar if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Oct 21, 2024
1 parent 3f62151 commit 548b293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi:9.4
WORKDIR /

# Install oc to allow collector to run commands
RUN dnf -y install tar
RUN set -x; \
OC_TAR_URL="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/clients/ocp/latest/openshift-client-linux.tar.gz" && \
curl -L -q -o /tmp/oc.tar.gz "$OC_TAR_URL" && \
Expand Down

0 comments on commit 548b293

Please sign in to comment.