From 494df6ba3e8eaba115ac0029fced92d0531e0ca4 Mon Sep 17 00:00:00 2001 From: Izaac Zavaleta Date: Mon, 14 Oct 2024 14:21:42 -0700 Subject: [PATCH] install libraries using apk if Alpine --- cypress/jenkins/transform-junit.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cypress/jenkins/transform-junit.sh b/cypress/jenkins/transform-junit.sh index afbabf000b6..040adb68f6d 100755 --- a/cypress/jenkins/transform-junit.sh +++ b/cypress/jenkins/transform-junit.sh @@ -2,7 +2,12 @@ set -x -pip3 install beautifulsoup4 requests lxml +if cat /etc/os-release | grep -iq "Alpine Linux"; then + apk update + apk add --no-cache python3 py3-beautifulsoup4 py3-lxml py3-requests +else + pip3 install beautifulsoup4 requests lxml +fi pwd ls -al .