mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
Add template for minimal image and update tutorial (#7461)
This commit is contained in:
committed by
GitHub
parent
8ff6083faf
commit
e62bcae84b
15
images/linux/scripts/installers/apt-common.sh
Normal file
15
images/linux/scripts/installers/apt-common.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash -e
|
||||
################################################################################
|
||||
## File: apt-common.sh
|
||||
## Desc: Installs basic command line utilities and dev packages
|
||||
################################################################################
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
common_packages=$(get_toolset_value .apt.common_packages[])
|
||||
cmd_packages=$(get_toolset_value .apt.cmd_packages[])
|
||||
for package in $common_packages $cmd_packages; do
|
||||
echo "Install $package"
|
||||
apt-get install -y --no-install-recommends $package
|
||||
done
|
||||
|
||||
invoke_tests "Apt"
|
||||
Reference in New Issue
Block a user