mirror of
https://github.com/searxng/searxng.git
synced 2026-06-22 01:28:31 +02:00
[fix] container: setup minimal (#6268)
Start minimal, use defaults, and extend later on. The templates are no longer checked for changes, which was confusing and annoying after a while. See: https://github.com/searxng/searxng/issues/6261#issuecomment-4716008282
This commit is contained in:
@@ -99,8 +99,6 @@ container.build() {
|
||||
timestamp_venv="$timestamp_requirements_server"
|
||||
fi
|
||||
|
||||
timestamp_searx_settings=$(git log -1 --format='%ct' ./searx/settings.yml)
|
||||
|
||||
if [ "$container_engine" = "podman" ]; then
|
||||
params_build_builder="build --format=oci --platform=$platform --layers --identity-label=false --timestamp=$timestamp_venv"
|
||||
params_build="build --format=oci --platform=$platform --layers --identity-label=false"
|
||||
@@ -119,7 +117,6 @@ container.build() {
|
||||
# shellcheck disable=SC2086
|
||||
"$container_engine" $params_build_builder \
|
||||
--build-arg="TIMESTAMP_VENV=$timestamp_venv" \
|
||||
--build-arg="TIMESTAMP_SETTINGS=$timestamp_searx_settings" \
|
||||
--tag="localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:builder" \
|
||||
--file="./container/builder.dockerfile" \
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user