summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-06-26 14:46:59 +0200
committerGitHub <noreply@github.com>2025-06-26 14:46:59 +0200
commitc6e0ad930d273b3073705285d8bc6970202527a2 (patch)
tree0085be332238d88cfcc3acecdd7b8c49d7ddb14d /utils
parent8757655644bab3c25daad612c2087754331640fb (diff)
[fix] container: remove HEALTHCHECK (#4941)
This is a poorly designed instruction, which is hardcoded and cannot be easily modified or maintained on a rolling release sw like ours. This *should* be set in the SearXNG Docker Compose template, not in the image itself. The OCI format is now used since we no longer have the HEALTHCHECK on the Dockerfile. Closes https://github.com/searxng/searxng/issues/4906 Closes https://github.com/searxng/searxng/issues/4722
Diffstat (limited to 'utils')
-rw-r--r--utils/lib_sxng_container.sh4
1 files changed, 2 insertions, 2 deletions
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"