summaryrefslogtreecommitdiff
path: root/utils/lxc.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-18 18:40:34 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-18 18:40:34 +0100
commite36e0f80aeec5d513b0bf8d4e4dc94c9fa4d98b4 (patch)
tree877b058487c79419df902e945b428c6661a34b27 /utils/lxc.sh
parent0c035c763f170fcf358d2c60a05f6ec32c3a1025 (diff)
downloadsearxng-e36e0f80aeec5d513b0bf8d4e4dc94c9fa4d98b4.tar.gz
searxng-e36e0f80aeec5d513b0bf8d4e4dc94c9fa4d98b4.zip
LXC: added archlinux and fedora31 containers
BTW: update all packages when installing conatiner's boilerplate Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.sh')
-rwxr-xr-xutils/lxc.sh20
1 files 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=()