From d8486cfb58e1c5d62ba24c7d04ac907954d6607a Mon Sep 17 00:00:00 2001 From: dongmucat <1127093059@qq.com> Date: Tue, 21 Jul 2026 15:24:49 +0800 Subject: [PATCH] fix(scanner): pin LiteLLM for Alpine builds Signed-off-by: dongmucat <1127093059@qq.com> --- scanner/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scanner/Dockerfile b/scanner/Dockerfile index 90eac126..f341893c 100644 --- a/scanner/Dockerfile +++ b/scanner/Dockerfile @@ -6,7 +6,9 @@ WORKDIR /app COPY backports/apply_1_0_2_llm_base_url_backport.py /tmp/apply_1_0_2_llm_base_url_backport.py -RUN pip install --no-cache-dir "cisco-ai-skill-scanner==${SKILL_SCANNER_VERSION}" && \ +RUN pip install --no-cache-dir \ + "cisco-ai-skill-scanner==${SKILL_SCANNER_VERSION}" \ + "litellm==1.90.2" && \ python /tmp/apply_1_0_2_llm_base_url_backport.py /usr/local/lib/python3.11/site-packages && \ rm /tmp/apply_1_0_2_llm_base_url_backport.py && \ addgroup -S app && \