mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
replace python-is-python2 to python-is-python3
This commit is contained in:
@@ -9,12 +9,12 @@ set -e
|
|||||||
source $HELPER_SCRIPTS/os.sh
|
source $HELPER_SCRIPTS/os.sh
|
||||||
|
|
||||||
# Install Python, Python 3, pip, pip3
|
# Install Python, Python 3, pip, pip3
|
||||||
if isUbuntu16 || isUbuntu18 ; then
|
if isUbuntu16 || isUbuntu18; then
|
||||||
apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip
|
apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if isUbuntu20 ; then
|
if isUbuntu20; then
|
||||||
apt-get install -y --no-install-recommends python3 python3-dev python3-pip python-is-python3
|
apt-get install -y --no-install-recommends python3 python3-dev python3-pip
|
||||||
ln -s /usr/bin/pip3 /usr/bin/pip
|
ln -s /usr/bin/pip3 /usr/bin/pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
"locales",
|
"locales",
|
||||||
"openssh-client",
|
"openssh-client",
|
||||||
"pkg-config",
|
"pkg-config",
|
||||||
"python-is-python2",
|
"python-is-python3",
|
||||||
"rpm",
|
"rpm",
|
||||||
"texinfo",
|
"texinfo",
|
||||||
"tk",
|
"tk",
|
||||||
|
|||||||
Reference in New Issue
Block a user