-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev-deps): bump pgvector, clang and llvm versions (#10614)
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM postgis/postgis:16-3.5-alpine AS pgvector-builder | ||
RUN apk add --no-cache git build-base clang15 llvm15-dev llvm15 | ||
FROM postgis/postgis:17-3.5-alpine AS pgvector-builder | ||
RUN apk add --no-cache git build-base clang19 llvm19-dev llvm19 | ||
WORKDIR /tmp | ||
RUN git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git | ||
RUN git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git | ||
WORKDIR /tmp/pgvector | ||
RUN make && make install | ||
|
||
FROM postgis/postgis:16-3.5-alpine | ||
RUN apk add --no-cache postgresql16-plpython3 | ||
FROM postgis/postgis:17-3.5-alpine | ||
RUN apk add --no-cache postgresql17-plpython3 | ||
COPY --from=pgvector-builder /usr/local/lib/postgresql/bitcode/vector.index.bc /usr/local/lib/postgresql/bitcode/vector.index.bc | ||
COPY --from=pgvector-builder /usr/local/lib/postgresql/vector.so /usr/local/lib/postgresql/vector.so | ||
COPY --from=pgvector-builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension |