mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-30 20:32:42 +00:00
✨ feat: adds VectorChord extension support
This commit is contained in:
@@ -3,6 +3,7 @@ ARG CNPG_TAG
|
||||
FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
|
||||
|
||||
ARG CNPG_TAG
|
||||
ARG VECTORCHORD_TAG
|
||||
ARG PGVECTORS_TAG
|
||||
ARG TARGETARCH
|
||||
|
||||
@@ -11,5 +12,7 @@ USER root
|
||||
ADD https://github.com/tensorchord/pgvecto.rs/releases/download/$PGVECTORS_TAG/vectors-pg${CNPG_TAG%.*}_${PGVECTORS_TAG#"v"}_$TARGETARCH.deb ./pgvectors.deb
|
||||
RUN apt install ./pgvectors.deb
|
||||
|
||||
USER postgres
|
||||
ADD https://github.com/tensorchord/VectorChord/releases/download/$VECTORCHORD_TAG/postgresql-${CNPG_TAG%.*}-vchord_${VECTORCHORD_TAG#"v"}-1_$TARGETARCH.deb ./vchord.deb
|
||||
RUN apt-get install -y ./vchord.deb && rm -f ./vchord.deb
|
||||
|
||||
USER postgres
|
||||
|
||||
Reference in New Issue
Block a user