Replace envsubst with sed in searxng entrypoint to avoid extra dependencies
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 9s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 9s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
envsubst < /searxng/settings.yml.template > /etc/searxng/settings.yml
|
||||
sed -e "s|\${BASE_URL}|${BASE_URL}|g" \
|
||||
-e "s|\${SEARXNG_SECRET_KEY}|${SEARXNG_SECRET_KEY}|g" \
|
||||
/searxng/settings.yml.template > /etc/searxng/settings.yml
|
||||
|
||||
exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh "$@"
|
||||
|
||||
Reference in New Issue
Block a user