From e36e0f80aeec5d513b0bf8d4e4dc94c9fa4d98b4 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 18 Feb 2020 18:40:34 +0100 Subject: [PATCH] LXC: added archlinux and fedora31 containers BTW: update all packages when installing conatiner's boilerplate Signed-off-by: Markus Heiser --- utils/lxc.sh | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/utils/lxc.sh b/utils/lxc.sh index 89c839cf1..08205d374 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -23,20 +23,30 @@ LXC_SHARE_FOLDER="/share" TEST_IMAGES=( "$LINUXCONTAINERS_ORG_NAME:ubuntu/18.04" "ubu1804" "$LINUXCONTAINERS_ORG_NAME:ubuntu/19.04" "ubu1904" - - # TODO: installation of searx & filtron not yet implemented .. - # - #"$LINUXCONTAINERS_ORG_NAME:archlinux" "archlinux" - #"$LINUXCONTAINERS_ORG_NAME:fedora/31" "fedora31" + "$LINUXCONTAINERS_ORG_NAME:archlinux" "archlinux" + "$LINUXCONTAINERS_ORG_NAME:fedora/31" "fedora31" ) ubu1804_boilerplate=" export DEBIAN_FRONTEND=noninteractive +apt-get update -y +apt-get upgrade -y apt-get install -y git curl wget " # shellcheck disable=SC2034 ubu1904_boilerplate="$ubu1804_boilerplate" +# shellcheck disable=SC2034 +archlinux_boilerplate=" +pacman -Syu --noconfirm +pacman -S --noconfirm git curl wget +" + +fedora31_boilerplate=" +dnf update -y +dnf install -y git curl wget +" + REMOTE_IMAGES=() LOCAL_IMAGES=()