Skip to content

Commit

Permalink
Merge pull request #12254 from izaac/python_on_alpine_fix
Browse files Browse the repository at this point in the history
[Automation] - Install libraries using apk if OS is Alpine
  • Loading branch information
izaac authored Oct 15, 2024
2 parents 0e5fc09 + 494df6b commit 4e0aa07
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 4e0aa07

Please sign in to comment.