fix: add git to Docker images for redisvl Git installation

This commit is contained in:
Harshit Jain 2026-02-11 00:24:16 +00:00
parent 1438e9e865
commit 3f88f6b8ce
2 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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