Files
project_6/Dockerfile
project6 cd61968f01 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.
2026-08-10 08:18:45 +00:00

19 lines
610 B
Docker

FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.3-x86-ubuntu20.04-py3.10-poc-llm-infer:v1.2.3
RUN mkdir -p /workspace
WORKDIR /workspace/
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
RUN chmod +x /workspace/qwen3_6_scripts/patch_ops.sh && \
bash /workspace/qwen3_6_scripts/patch_ops.sh