Fix Dockerfile: separate git clone and build RUN commands
This commit is contained in:
@@ -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========================================" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user