mirror of
https://github.com/immich-app/base-images.git
synced 2025-09-10 07:24:16 +02:00
fix: pgvecto.rs 0.3.0 installation on pg17 (#222)
This commit is contained in:
@@ -14,7 +14,7 @@ RUN apt-get update && \
|
||||
apt-get install -y wget && \
|
||||
wget -nv -O /tmp/vchord.deb https://github.com/tensorchord/VectorChord/releases/download/$VECTORCHORD_TAG/postgresql-${PG_MAJOR%.*}-vchord_${VECTORCHORD_TAG#"v"}-1_${TARGETARCH}.deb && \
|
||||
if [ -n "$PGVECTORS_TAG" ]; then \
|
||||
wget -nv -O /tmp/pgvectors.deb https://github.com/tensorchord/pgvecto.rs/releases/download/v$PGVECTORS_TAG/vectors-pg${PG_MAJOR%.*}_${PGVECTORS_TAG#"v"}_${TARGETARCH}$(if [ "$PGVECTORS_TAG" = '0.3.0']; then echo "_vectors"; fi).deb; \
|
||||
wget -nv -O /tmp/pgvectors.deb https://github.com/tensorchord/pgvecto.rs/releases/download/v$PGVECTORS_TAG/vectors-pg${PG_MAJOR%.*}_${PGVECTORS_TAG#"v"}_${TARGETARCH}$(if [ "$PGVECTORS_TAG" = '0.3.0' ]; then echo "_vectors"; fi).deb; \
|
||||
apt-get install -y /tmp/pgvectors.deb; \
|
||||
rm -f /tmp/pgvectors.deb; \
|
||||
fi && \
|
||||
|
||||
Reference in New Issue
Block a user