fix(build): restore proven Dockerfile RUN format + keep wudixzy ENV

Dockerfile:
- Keep 6 ENV lines from wudixzy (PATH, PYTHONPATH, LD_LIBRARY_PATH,
  ENABLE_CUSTOM_IPC, BI100_PREFIX_*)
- Restore RUN format to 5b8c08dd proven build:
  bash patch_ops.sh 2>&1 | tee /workspace/patch_ops.log ; echo exit
  (NOT: cd ./qwen3_6_scripts && bash ./patch_ops.sh which fails)
- mkdir -p (not mkdir)

patch_ops.sh:
- set -eo pipefail (not -euo, -u causes unset var errors on base image)

.dockerignore: restored to 5b8c08dd
This commit is contained in:
project6-dev
2026-08-12 04:39:24 +00:00
parent 945bd1fca1
commit a72877a509
2 changed files with 5 additions and 3 deletions

View File

@@ -6,8 +6,10 @@ ENV LD_LIBRARY_PATH=/usr/local/corex/lib:/usr/local/corex/lib64:/usr/local/corex
ENV VLLM_ENGINE_ITERATION_TIMEOUT_S=3600 PYTHONUNBUFFERED=1 PYTHONFAULTHANDLER=1 BI100_EXECUTOR_STARTUP_DEBUG=1 ENABLE_CUSTOM_IPC=1
ENV BI100_PREFIX_MODEL_FINGERPRINT=Qwen3.6-35B-A3B BI100_PREFIX_DTYPE=float16 BI100_PREFIX_TP_SIZE=4
RUN mkdir /workspace
RUN mkdir -p /workspace
WORKDIR /workspace/
COPY ./qwen3_6_scripts /workspace/qwen3_6_scripts
COPY ./computility-run.yaml /workspace/computility-run.yaml
RUN cd ./qwen3_6_scripts && bash ./patch_ops.sh
RUN chmod +x /workspace/qwen3_6_scripts/patch_ops.sh && \
bash /workspace/qwen3_6_scripts/patch_ops.sh 2>&1 | tee /workspace/patch_ops.log ; \
echo "[Dockerfile] patch_ops exit code: $?"

View File

@@ -28,7 +28,7 @@
# --max-seq-len-to-capture 32768 --enable-auto-tool-choice \
# --tool-call-parser qwen3_coder --reasoning-parser qwen3
set -euo pipefail
set -eo pipefail
# cd into this script's directory so ./relative paths work
cd "$(dirname "${BASH_SOURCE[0]}")"