[mod] docker-entrypoint.sh - add script to make test.sh (shellcheck)

Add script docker-entrypoint.sh to shellcheck and try to _simplify_ and
_normalize_ some parts:

- fix issues reported by shellcheck
- don't mix tab and space indent
- command 'help' replaced by '-h': ./dockerfiles/docker-entrypoint.sh -h
- replace printf in help() by 'cat <<EOF'

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-05-10 11:26:56 +02:00
parent 1970d28a60
commit d6c321b830
3 changed files with 76 additions and 70 deletions

View file

@ -39,7 +39,7 @@ Command line
docker run --rm -it searxng/searxng -h
.. program-output:: ../dockerfiles/docker-entrypoint.sh help
.. program-output:: ../dockerfiles/docker-entrypoint.sh -h
Build the image