2 Commits

Author SHA1 Message Date
Markus Heiser
776ac0add8 [docs] Docker's entrypoint.sh does no longer have an help option -h
The new Docker entrypoint.sh script implemented in PR:

- https://github.com/searxng/searxng/pull/4793

does no longer have a `-h` option [1].  When building the `make docs` a warming
is shown::

  WARNING: Unexpected return code 2 from command Command(command=('../container/entrypoint.sh', '-h') .. (output='../container/entrypoint.sh: 152: SEARXNG_VERSION: parameter not set')

[1] https://github.com/searxng/searxng/pull/4793/files#diff-694a402a03e8de5aa227b1c0294ffdc072b6bac09b4dcbe144dc7d97d4e07159L35

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-06-25 09:32:01 +02:00
Markus Heiser
39474b392a [fix] debian: install apt package python-is-python3
On debian the 'python-is-python3' packages restores an appropriate
'/usr/bin/python' symlink for third-party scripts[1]

[1] https://github.com/searxng/searxng/issues/3235#issuecomment-1954459081

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-06-25 08:29:57 +02:00
2 changed files with 1 additions and 3 deletions

View File

@@ -186,5 +186,3 @@ In the :origin:`Dockerfile` the ENTRYPOINT_ is defined as
.. code:: sh
docker run --rm -it searxng/searxng -h
.. program-output:: ../container/entrypoint.sh -h

View File

@@ -57,7 +57,7 @@ NGINX_SEARXNG_SITE="searxng.conf"
# apt packages
SEARXNG_PACKAGES_debian="\
python3-dev python3-babel python3-venv
python3-dev python3-babel python3-venv python-is-python3
uwsgi uwsgi-plugin-python3
git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev"