From cd61968f01e2524efd2a289755d0cd2ecc923d25 Mon Sep 17 00:00:00 2001 From: project6 Date: Mon, 10 Aug 2026 08:18:45 +0000 Subject: [PATCH] fix(build): install gcc + ninja-build before compilation Docker build fails if base image lacks gcc (needed for ex_registry.c) and ninja (needed for torch.utils.cpp_extension). Install both in a dedicated RUN layer before build.sh and patch_ops.sh. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2a754f2a..162b5e61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,10 @@ COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts COPY ./computility-run.yaml /workspace/computility-run.yaml COPY ./ex_engine /workspace/ex_engine +RUN apt-get update -qq && \ + apt-get install -y -qq gcc ninja-build && \ + rm -rf /var/lib/apt/lists/* + RUN chmod +x /workspace/ex_engine/build.sh && \ bash /workspace/ex_engine/build.sh --corex