mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
update dockerfile to install dependencies (#5784)
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f3cd3e9fc3
commit
c12ed3109d
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user