mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
19 lines
627 B
Bash
19 lines
627 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-apt-common.sh
|
|
## Desc: Install basic command line utilities and dev packages
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
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 --no-install-recommends $package
|
|
done
|
|
|
|
invoke_tests "Apt"
|