fix(docker): auto-detect target arch for local ARM builds

This commit is contained in:
CJACK.
2026-02-28 18:39:33 +08:00
parent 3725694bdf
commit 01924f4a69
4 changed files with 10 additions and 6 deletions

View File

@@ -338,7 +338,8 @@ function showStatus() {
function waitForProcesses() {
return new Promise(resolve => {
const check = setInterval(() => {
if (processes.filter(p => !p.killed).length === 0) {
const activeCount = processes.filter(proc => proc.exitCode === null && proc.signalCode === null).length;
if (activeCount === 0) {
clearInterval(check);
resolve();
}