Fix Dockerfile: separate git clone and build RUN commands

This commit is contained in:
2026-04-10 15:32:16 +00:00
parent c1b013234e
commit cdfd37c1e6

View File

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