Skip to content

Commit

Permalink
feat: add pgai extension version 0.4.0 (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgpruitt authored Oct 25, 2024
1 parent c2a28a8 commit f2e0957
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ RUN set -ex; \
python3-dev \
py3-pip; \
git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; \
cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; \
cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; \
pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; \
cd /build/pgai; \
PG_BIN="/usr/local/bin" PG_MAJOR=${PG_MAJOR_VERSION} make install; \
apk del .pgai-deps; \
fi

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TAG=-t $(TAG_VERSION) $(if $(BETA),,-t $(TAG_LATEST))
TAG_OSS=-t $(TAG_VERSION)-oss $(if $(BETA),,-t $(TAG_LATEST)-oss)

PGVECTOR_VERSION=v0.7.2
PGAI_VERSION=v0.3.0
PGAI_VERSION=extension-0.4.0

default: image

Expand Down

0 comments on commit f2e0957

Please sign in to comment.