From 4c1fce48c00078d8058052505e3bc71620734597 Mon Sep 17 00:00:00 2001 From: Julien Pinsonneau Date: Mon, 21 Oct 2024 10:33:45 +0200 Subject: [PATCH] install tar if needed --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 826a1eb3..9d960163 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,7 @@ FROM --platform=linux/$TARGETARCH 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" && \