Skip to content

Commit

Permalink
install libraries using apk if Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
izaac committed Oct 14, 2024
1 parent 49829da commit 494df6b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cypress/jenkins/transform-junit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 494df6b

Please sign in to comment.