mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[fix] utils: variable expansion (#5237)
Docker buildx outputs the following error: variable expansion is not supported for --from, define a new stage with FROM using ARG from global scope as a workaround. Also force BuildKit extension to be installed, legacy build is no longer supported. Closes https://github.com/searxng/searxng/issues/5219
This commit is contained in:
@@ -62,6 +62,10 @@ container.build() {
|
||||
esac
|
||||
info_msg "Selected platform: $platform"
|
||||
|
||||
if [ "$container_engine" = "docker" ] && ! docker buildx version &>/dev/null; then
|
||||
die 42 "docker buildx is not installed: https://docs.docker.com/go/buildx/"
|
||||
fi
|
||||
|
||||
pyenv.install
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user