mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
add pip installation for python2
This commit is contained in:
@@ -10,6 +10,9 @@ source $HELPER_SCRIPTS/document.sh
|
|||||||
# Install Python, Python 3, pip, pip3
|
# Install Python, Python 3, pip, pip3
|
||||||
apt-get install -y --no-install-recommends python3 python3-dev python3-pip
|
apt-get install -y --no-install-recommends python3 python3-dev python3-pip
|
||||||
|
|
||||||
|
curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
|
||||||
|
python2 get-pip.py
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
for cmd in python python3 pip3; do
|
for cmd in python python3 pip3; do
|
||||||
|
|||||||
Reference in New Issue
Block a user