fix(build): Dockerfile tolerant of patch_ops.sh exit — matches working 26e6cb40
Working commit (26e6cb40) uses:
bash ./patch_ops.sh 2>&1 | tee ... ; echo exit code
Current was:
bash ./patch_ops.sh (strict, any failure kills Docker build)
patch_ops.sh has set -euo pipefail internally, and some patches may
legitimately skip/fail on different base images. The tee+echo pattern
lets the build complete while logging any issues.
This commit is contained in:
@@ -18,4 +18,5 @@ COPY ./vllm_overrides/core/block_manager_v2.py /workspace/qwen3_6_scripts/vendor
|
||||
COPY ./vllm_overrides/sampling_params.py /workspace/qwen3_6_scripts/vendor_overrides/vllm/sampling_params.py
|
||||
COPY ./vllm_overrides/model_executor/sampling_metadata.py /workspace/qwen3_6_scripts/vendor_overrides/vllm/model_executor/sampling_metadata.py
|
||||
COPY ./vllm_overrides/model_executor/layers/sampler.py /workspace/qwen3_6_scripts/vendor_overrides/vllm/model_executor/layers/sampler.py
|
||||
RUN cd ./qwen3_6_scripts && bash ./patch_ops.sh
|
||||
RUN cd ./qwen3_6_scripts && bash ./patch_ops.sh 2>&1 | tee /workspace/patch_ops.log ; \
|
||||
echo "[Dockerfile] patch_ops exit code: $?"
|
||||
|
||||
Reference in New Issue
Block a user