From c12ed3109dccf8c3ff32e5ff6c155dabf3f7007e Mon Sep 17 00:00:00 2001 From: Anand Kumar Singh Date: Thu, 2 Jun 2022 15:06:05 +0530 Subject: [PATCH] update dockerfile to install dependencies (#5784) Signed-off-by: anandrkskd --- .ibm/images/Dockerfile | 2 +- .ibm/pipelines/functions.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.ibm/images/Dockerfile b/.ibm/images/Dockerfile index 817cd63e6..daf0b3944 100644 --- a/.ibm/images/Dockerfile +++ b/.ibm/images/Dockerfile @@ -10,7 +10,7 @@ RUN curl -fsSL https://clis.cloud.ibm.com/install/linux | sh && \ chmod +x install-oc-tools.sh && \ ./install-oc-tools.sh --latest 4.7 && \ apt-get update -y && \ - apt-get install -y sshpass && \ + apt-get install -y sshpass jq colorized-logs && \ rm -rf /var/lib/apt/lists/* # Create non-root user and associated home directory diff --git a/.ibm/pipelines/functions.sh b/.ibm/pipelines/functions.sh index 16f6a6774..793fefb32 100644 --- a/.ibm/pipelines/functions.sh +++ b/.ibm/pipelines/functions.sh @@ -8,8 +8,6 @@ save_logs() { LOGFILE="$1" NAME="$2" RESULT="$3" - apt update - apt install jq colorized-logs --yes ansi2html <"/tmp/${LOGFILE}" >"/tmp/${LOGFILE}.html" ansi2txt <"/tmp/${LOGFILE}" >"/tmp/${LOGFILE}.txt"