Browse Source

[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`
pull/2113/merge
Markus Heiser 6 months ago
committed by GitHub
parent
commit
623fb87065
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      utils/lxc-searx.env
  2. +1
    -1
      utils/lxc.sh

+ 3
- 0
utils/lxc-searx.env View File

@ -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}"


+ 1
- 1
utils/lxc.sh View File

@ -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
"


Loading…
Cancel
Save