From a72877a509515316ea513950b81011a5902274d3 Mon Sep 17 00:00:00 2001 From: project6-dev Date: Wed, 12 Aug 2026 04:39:24 +0000 Subject: [PATCH] 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 --- Dockerfile | 6 ++++-- qwen3_6_scripts/patch_ops.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd751ce1..0e66cd53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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: $?" diff --git a/qwen3_6_scripts/patch_ops.sh b/qwen3_6_scripts/patch_ops.sh index 87ec062d..3f70c7cf 100755 --- a/qwen3_6_scripts/patch_ops.sh +++ b/qwen3_6_scripts/patch_ops.sh @@ -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]}")"