mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
install only python3
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
# Install Python, Python 3, pip, pip3
|
# Install Python, Python 3, pip, pip3
|
||||||
apt-get install -y --no-install-recommends python python-dev python-pip python3 python3-dev python3-pip
|
apt-get install -y --no-install-recommends python3 python3-dev python3-pip
|
||||||
|
|
||||||
# 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"
|
||||||
|
|||||||
@@ -256,20 +256,11 @@
|
|||||||
],
|
],
|
||||||
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}"
|
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "file",
|
|
||||||
"source": "{{template_dir}}/toolcache-2004.json",
|
|
||||||
"destination": "{{user `installer_script_folder`}}/toolcache.json"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"scripts":[
|
"scripts":[
|
||||||
"{{template_dir}}/scripts/installers/2004/android.sh",
|
"{{template_dir}}/scripts/installers/2004/android.sh",
|
||||||
"{{template_dir}}/scripts/installers/azpowershell.sh",
|
"{{template_dir}}/scripts/installers/python.sh"
|
||||||
"{{template_dir}}/scripts/helpers/containercache.sh",
|
|
||||||
"{{template_dir}}/scripts/installers/hosted-tool-cache.sh",
|
|
||||||
"{{template_dir}}/scripts/installers/python.sh",
|
|
||||||
"{{template_dir}}/scripts/installers/test-toolcache.sh"
|
|
||||||
],
|
],
|
||||||
"environment_vars": [
|
"environment_vars": [
|
||||||
"METADATA_FILE={{user `metadata_file`}}",
|
"METADATA_FILE={{user `metadata_file`}}",
|
||||||
@@ -279,18 +270,6 @@
|
|||||||
],
|
],
|
||||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"scripts":[
|
|
||||||
"{{template_dir}}/scripts/installers/boost.sh"
|
|
||||||
],
|
|
||||||
"environment_vars": [
|
|
||||||
"METADATA_FILE={{user `metadata_file`}}",
|
|
||||||
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
|
||||||
"INSTALLER_SCRIPT_FOLDER={{user `installer_script_folder`}}"
|
|
||||||
],
|
|
||||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"scripts":[
|
"scripts":[
|
||||||
|
|||||||
Reference in New Issue
Block a user