Skip to content

Commit

Permalink
DBZ-8121 Install pgvector extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Aug 6, 2024
1 parent 772b459 commit bfe1e2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions postgres/15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ RUN apt-get update \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts \
postgis; \
fi \
&& if [ "$USE_PGVECTOR" != "false" ]; then apt-get install -f -y --no-install-recommends \
postgresql-$PG_MAJOR-pgvector; \
fi \
&& add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" \
&& apt-get update && apt-get install -f -y --no-install-recommends \
libprotobuf-c1 \
Expand Down
3 changes: 3 additions & 0 deletions postgres/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ RUN apt-get update \
postgresql-$PG_MAJOR-postgis-$POSTGIS_VERSION-scripts \
postgis; \
fi \
&& if [ "$USE_PGVECTOR" != "false" ]; then apt-get install -f -y --no-install-recommends \
postgresql-$PG_MAJOR-pgvector; \
fi \
&& add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" \
&& apt-get update && apt-get install -f -y --no-install-recommends \
libprotobuf-c1 \
Expand Down

0 comments on commit bfe1e2f

Please sign in to comment.