on master help sign in
[enh] add centos-7 to LXC images (#2118)

## What does this PR do? To test centos-7 on non centos systems add centos-7 image to the LXC suite. ## Why is this change important? PR #2112 adds centos-7 support to the install scripts ## How to test this PR locally? `sudo ./utils/lxc.sh build searx-centos7`

commit623fb8706561451ac3680f5ca5e08e6b6e73bf95 authorMarkus Heiser <markus.heiser@darmarIT.de> dateSat 8 Aug 2020, 17:50 (6 years ago) parentf678388
2 files changed+4−1
utils/lxc-searx.env+3 utils/lxc.sh+1−1
utils/lxc-searx.env+3
@@ -31,6 +31,9 @@ lxc_set_suite_env() {
3131
3232 # rolling releases see https://www.archlinux.org/releng/releases/
3333 "$LINUXCONTAINERS_ORG_NAME:archlinux" "archlinux"
34+
35+ # EOL 30 June 2024
36+ "$LINUXCONTAINERS_ORG_NAME:centos/7" "centos7"
3437 )
3538
3639 PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
utils/lxc.sh+1−1
@@ -57,7 +57,7 @@ echo 'Set disable_coredump false' >> /etc/sudo.conf
5757# shellcheck disable=SC2034
5858centos7_boilerplate="
5959yum update -y
60−yum install -y git curl wget hostname
60+yum install -y git curl wget hostname sudo
6161echo 'Set disable_coredump false' >> /etc/sudo.conf
6262"
6363