From 18e834b08cf568b77d77f0542502bdc03d3cf938 Mon Sep 17 00:00:00 2001 From: Brodino Date: Mon, 27 Apr 2026 21:49:46 +0200 Subject: [PATCH] fix(build): now respects core limitations --- scripts/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index f27bba5..f589813 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -60,6 +60,8 @@ echo "[entrypoint] Starting polling loop, interval: ${POLL_INTERVAL_SECONDS}s" exec sudo -u builduser --preserve-env HOME=/home/builduser bash -c ' set -euo pipefail POLL_INTERVAL_SECONDS="'"${POLL_INTERVAL_SECONDS}"'" + NPROC="'"${NPROC:-}"'" + [[ -n "${NPROC}" ]] && export NPROC while true; do /workspace/scripts/check-update.sh echo "[entrypoint] Sleeping for ${POLL_INTERVAL_SECONDS}s"