fix: upgrade sqlite3 for ChromaDB compatibility (#1407)

This commit is contained in:
Suhas Deshpande
2025-02-20 11:11:05 -08:00
committed by GitHub
parent 2044924db0
commit 9fee81f63a
+15 -1
View File
@@ -5,7 +5,21 @@ ARG WITH_LOCAL_DEPS
ENV POETRY_VIRTUALENVS_CREATE=false
# Install poetry and configure it in a single layer
# Install system dependencies including newer sqlite3
RUN apt-get update && apt-get install -y \
build-essential \
wget \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://www.sqlite.org/2024/sqlite-autoconf-3450000.tar.gz \
&& tar xvfz sqlite-autoconf-3450000.tar.gz \
&& cd sqlite-autoconf-3450000 \
&& ./configure \
&& make \
&& make install \
&& cd .. \
&& rm -rf sqlite-autoconf-3450000*
# Install poetry and configure it
RUN pip install poetry==1.7.1 && \
poetry config virtualenvs.create false