mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* docs: update docs * docs: additional cleanup * docs(index.md): add initial links * docs: more doc updates * docs(index.md): add more links * docs(files.md): add gemini files API to docs * docs(index.md): add more docs * docs: more docs * docs: update docs
1.8 KiB
1.8 KiB
title | slug | date | authors | tags | hide_table_of_contents | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
v1.57.3 - New Base Docker Image | v1.57.3 | 2025-01-08T10:00:00 |
|
|
false |
import Image from '@theme/IdealImage';
docker image
, security
, vulnerability
0 Critical/High Vulnerabilities
<Image img={require('../../img/release_notes/security.png')} />
What changed?
- LiteLLMBase image now uses
cgr.dev/chainguard/python:latest-dev
Why the change?
To ensure there are 0 critical/high vulnerabilities on LiteLLM Docker Image
Migration Guide
- If you use a custom dockerfile with litellm as a base image +
apt-get
Instead of apt-get
use apk
, the base litellm image will no longer have apt-get
installed.
You are only impacted if you use apt-get
in your Dockerfile
# Use the provided base image
FROM ghcr.io/berriai/litellm:main-latest
# Set the working directory
WORKDIR /app
# Install dependencies - CHANGE THIS to `apk`
RUN apt-get update && apt-get install -y dumb-init
Before Change
RUN apt-get update && apt-get install -y dumb-init
After Change
RUN apk update && apk add --no-cache dumb-init