Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] container: remove HEALTHCHECK (#4941)

Ivan Gabaldonc6e0ad930d27
diff --git a/container/Dockerfile b/container/Dockerfile
index d7bc83802..880ae26fc 100644
--- a/container/Dockerfile
+++ b/container/Dockerfile
@@ -60,6 +60,4 @@ VOLUME $DATA_PATH
EXPOSE 8080
-HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:8080/healthz || exit 1
-
ENTRYPOINT ["/usr/local/searxng/entrypoint.sh"]
diff --git a/utils/lib_sxng_container.sh b/utils/lib_sxng_container.sh
index 825eb2b88..b1e80717b 100644
--- a/utils/lib_sxng_container.sh
+++ b/utils/lib_sxng_container.sh
@@ -93,8 +93,8 @@ container.build() {
info_msg "Set \$GIT_BRANCH: $GIT_BRANCH"
if [ "$container_engine" = "podman" ]; then
- params_build_builder="build --format=docker --platform=$platform --target=builder --layers --identity-label=false"
- params_build="build --format=docker --platform=$platform --layers --squash-all --omit-history --identity-label=false"
+ params_build_builder="build --format=oci --platform=$platform --target=builder --layers --identity-label=false"
+ params_build="build --format=oci --platform=$platform --layers --squash-all --omit-history --identity-label=false"
else
params_build_builder="build --platform=$platform --target=builder"
params_build="build --platform=$platform --squash"