mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix: add git to Docker images for redisvl Git installation
This commit is contained in:
parent
1438e9e865
commit
3f88f6b8ce
2 changed files with 4 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ WORKDIR /app
|
|||
USER root
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache bash gcc openssl openssl-dev
|
||||
RUN apk add --no-cache bash gcc git openssl openssl-dev
|
||||
|
||||
RUN python -m pip install --upgrade pip setuptools && \
|
||||
python -m pip install build wheel cmake setuptools_rust maturin
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# Base image for building
|
||||
ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/wolfi-base
|
||||
ARG LITELLM_BUILD_IMAGE=cgr.dev/chainguard/python:latest-dev
|
||||
|
||||
# Runtime image
|
||||
ARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/wolfi-base
|
||||
ARG LITELLM_RUNTIME_IMAGE=cgr.dev/chainguard/python:latest-dev
|
||||
# Builder stage
|
||||
FROM $LITELLM_BUILD_IMAGE AS builder
|
||||
|
||||
|
|
@ -15,9 +15,7 @@ USER root
|
|||
RUN apk add --no-cache \
|
||||
bash \
|
||||
gcc \
|
||||
py3-pip \
|
||||
python3 \
|
||||
python3-dev \
|
||||
git \
|
||||
openssl \
|
||||
openssl-dev
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue