Update pgvectors version

This commit is contained in:
Tyler Perkins 2024-04-07 20:15:07 -04:00
parent 7bf2a5f48a
commit 6ccfbdd09d
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
1 changed files with 1 additions and 6 deletions

View File

@ -7,7 +7,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Clone the specific version of the pgvector repository
RUN git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git /tmp/pgvector
RUN git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git /tmp/pgvector
# Build pgvector
RUN cd /tmp/pgvector && \
@ -35,11 +35,6 @@ RUN export PG_CONFIG=/opt/bitnami/postgresql/bin/pg_config && \
make install && \
make clean
RUN mkdir /tmp/vecto.rs && \
cd /tmp/vecto.rs && \
wget https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.1/vectors-pg14_0.2.1_amd64.deb && \
apt-get install ./vectors-pg14_0.2.1_amd64.deb
# Cleanup the build tools to keep the image lean
RUN apt-get remove -y make gcc libc6-dev wget && \
apt-get autoremove -y && \