Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

docker/build.sh: STRATA_BUILD_COMMIT overrides the commit it passes

Niko1221c093ac263f81
diff --git a/docker/build.sh b/docker/build.sh
index 242c356ea..6fd475c75 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -57,7 +57,7 @@ cleanup() { if [ -n "$own_ctx" ] && [ -z "$ctxonly" ]; then rm -rf "$ctx"; fi; }
trap cleanup EXIT
# the commit the sources are from (the build context has no .git; package_terminal.py writes it into the archive's COMMIT)
-commit=$(git -C "$repo" rev-parse HEAD 2>/dev/null || true)
+commit=${STRATA_BUILD_COMMIT:-$(git -C "$repo" rev-parse HEAD 2>/dev/null || true)}
case "$commit" in *[!0-9a-f]*|"") commit="" ;; esac
# 1. the Terminal's sources: exactly what packaging/package_terminal.py copies (the working tree, so local edits are in the image)