Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[enh] add centos-7 to LXC images (#2118)

Markus Heiser623fb8706561
diff --git a/utils/lxc-searx.env b/utils/lxc-searx.env
index a51312fb8..3ce10021b 100644
--- a/utils/lxc-searx.env
+++ b/utils/lxc-searx.env
@@ -31,6 +31,9 @@ lxc_set_suite_env() {
# rolling releases see https://www.archlinux.org/releng/releases/
"$LINUXCONTAINERS_ORG_NAME:archlinux" "archlinux"
+
+ # EOL 30 June 2024
+ "$LINUXCONTAINERS_ORG_NAME:centos/7" "centos7"
)
PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
diff --git a/utils/lxc.sh b/utils/lxc.sh
index a9149a197..30534c6a2 100755
--- a/utils/lxc.sh
+++ b/utils/lxc.sh
@@ -57,7 +57,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf
# shellcheck disable=SC2034
centos7_boilerplate="
yum update -y
-yum install -y git curl wget hostname
+yum install -y git curl wget hostname sudo
echo 'Set disable_coredump false' >> /etc/sudo.conf
"