From b46ba69aa0c62c5327a94afe29a53548fc28e1ce Mon Sep 17 00:00:00 2001 From: JustMe Date: Sat, 10 Oct 2026 06:09:17 -0700 Subject: [PATCH] ci: raise Buildah nofile limit for Zig AOT [CI] --- ci/build-dev-image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/build-dev-image.sh b/ci/build-dev-image.sh index d8ecd36..0870fc0 100644 --- a/ci/build-dev-image.sh +++ b/ci/build-dev-image.sh @@ -140,7 +140,9 @@ commit_epoch="$(git -C "$root" show -s --format=%ct "$CI_COMMIT_SHA")" built_at="$(date -u -d "@$commit_epoch" +%Y-%m-%dT%H:%M:%SZ)" python3 "$root/ci/stage-node-image.py" "$component" "$context" -run_bounded 30m buildah bud --layers --network host --tls-verify=true --arch "$arch" \ +# Zig compiles musl libc by spawning many compiler processes. Buildah's default +# nofile limit (1024) makes Zig fail with ProcessFdQuotaExceeded while linking. +run_bounded 30m buildah bud --layers --network host --tls-verify=true --ulimit nofile=65536:65536 --arch "$arch" \ --build-arg "NATIVEAOT_BUILDER_IMAGE=$builder_image" \ --build-arg "APP_VERSION=$image_version" \ --build-arg "NODE_RID=$node_rid" \