Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Optimize Alpine Dockerfile by removing redundant apk commands (#5016)

Peter Dave Helloc6026ea6f95f
diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine
index 70ab9cac01d..cc0c434013d 100644
--- a/docker/Dockerfile.alpine
+++ b/docker/Dockerfile.alpine
@@ -11,9 +11,7 @@ FROM $LITELLM_BUILD_IMAGE AS builder
WORKDIR /app
# Install build dependencies
-RUN apk update && \
- apk add --no-cache gcc python3-dev musl-dev && \
- rm -rf /var/cache/apk/*
+RUN apk add --no-cache gcc python3-dev musl-dev
RUN pip install --upgrade pip && \
pip install build