diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-08-08 17:50:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 19:50:11 +0200 |
commit | 623fb8706561451ac3680f5ca5e08e6b6e73bf95 (patch) | |
tree | 4cee1ec2e5d10ddc321f9ec4c6c409320b24dd5e /utils | |
parent | f678388dbc7d90082e7df266402711006c3818be (diff) | |
download | searxng-623fb8706561451ac3680f5ca5e08e6b6e73bf95.tar.gz searxng-623fb8706561451ac3680f5ca5e08e6b6e73bf95.zip |
[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`
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lxc-searx.env | 3 | ||||
-rwxr-xr-x | utils/lxc.sh | 2 |
2 files changed, 4 insertions, 1 deletions
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 " |