Update pgvectors version
This commit is contained in:
parent
7bf2a5f48a
commit
6ccfbdd09d
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user