Skip to content

Commit 3b2c399

Browse files
xieyddkemingy
andauthored
delete pgvecto.rs in vchord-suite (#5)
* delete pgvecto.rs in vchord-suite Signed-off-by: xieydd <xieydd@gmail.com> * Update vchord-suite/Dockerfile Co-authored-by: Keming <kemingy94@gmail.com> Signed-off-by: xieydd <xieydd@gmail.com> --------- Signed-off-by: xieydd <xieydd@gmail.com> Co-authored-by: Keming <kemingy94@gmail.com>
1 parent 33a91ae commit 3b2c399

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

vchord-suite/Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ ARG PG_MAJOR=16
22
ARG PGVECTOR_SEMVER=0.8.0
33
FROM pgvector/pgvector:${PGVECTOR_SEMVER}-pg${PG_MAJOR}
44

5-
ARG PGRS_SEMVER=0.4.0
65
ARG VECTORCHORD_SEMVER=0.2.2
76
ARG VECTORCHORD_BM25_SEMVER=0.2.0
87
ARG PG_TOKENIZER_SEMVER=0.1.0
@@ -15,10 +14,6 @@ RUN set -eux; \
1514
apt-get clean -y; \
1615
rm -rf /var/lib/apt/lists/*
1716

18-
# Install pgvecto.rs
19-
RUN wget https://github.com/tensorchord/pgvecto.rs/releases/download/v${PGRS_SEMVER}/vectors-pg${PG_MAJOR}_${PGRS_SEMVER}_${TARGETARCH}.deb -O /tmp/vectors.deb; \
20-
dpkg -i /tmp/vectors.deb;
21-
2217
# Install VectorChord
2318
RUN wget https://github.com/tensorchord/VectorChord/releases/download/${VECTORCHORD_SEMVER}/postgresql-${PG_MAJOR}-vchord_${VECTORCHORD_SEMVER}-1_${TARGETARCH}.deb -O /tmp/vchord.deb; \
2419
dpkg -i /tmp/vchord.deb;
@@ -32,4 +27,4 @@ RUN wget https://github.com/tensorchord/pg_tokenizer.rs/releases/download/${PG_T
3227
dpkg -i /tmp/pg-tokenizer.deb; \
3328
rm -rf /tmp/*.deb
3429

35-
CMD ["postgres", "-c" ,"shared_preload_libraries=vectors.so, vchord.so, pg_tokenizer.so", "-c", "search_path=\"$user\", public, vectors, tokenizer_catalog"]
30+
CMD ["postgres", "-c" ,"shared_preload_libraries=vchord.so, pg_tokenizer.so", "-c", "search_path=\"$user\", public, bm25_catalog, tokenizer_catalog"]

0 commit comments

Comments
 (0)