dockerised tests

This commit is contained in:
Andrejus
2020-02-27 23:16:56 +00:00
parent 5074d56184
commit e2bd54995a
28 changed files with 488 additions and 66 deletions

View File

@@ -4,15 +4,16 @@
#
# Install list of packages in ./00-apt-pkglist
#
readonly package_list_file="00-apt-pkglist"
# apt update and upgrade non-interactively
# apt update, upgrade if not fast
update
upgrade
if [ -z "$FAST_MODE" ]; then
upgrade
fi
# Package installs
readonly package_list=$(cat $install_dir/$package_list_file) # Don't escape list
install $package_list
readonly package_list_file="$install_dir/00-apt-pkglist"
install_file $package_list_file
# Log version
cat /etc/os-release
cat /etc/os-release