Fix cache-bust: embed VLLM_COMMIT in git clone RUN command

This commit is contained in:
2026-04-10 15:01:29 +00:00
parent 98b4ae6676
commit c1b013234e

View File

@@ -162,8 +162,7 @@ ARG VLLM_REF=cmm
ARG VLLM_COMMIT=latest
# Install ccache for faster compilation
RUN apt-get update && apt-get install -y ccache
RUN git clone https://sweetapi.com/biondizzle/vllm.git && \
echo "VLLM_COMMIT=${VLLM_COMMIT}" > /tmp/vllm_commit_cache_bust
RUN echo "VLLM_COMMIT=${VLLM_COMMIT}" && git clone https://sweetapi.com/biondizzle/vllm.git && \
RUN cd vllm && \
git checkout ${VLLM_REF} && \
echo "\n\n========================================" && \