-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump postgis, nixpkgs, poetry2nix and quarto (#10245)
- Loading branch information
Showing
3 changed files
with
22 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
FROM postgis/postgis:15-3.3-alpine AS pgvector-builder | ||
RUN apk add --no-cache git | ||
RUN apk add --no-cache build-base | ||
RUN apk add --no-cache clang15 | ||
RUN apk add --no-cache llvm15-dev llvm15 | ||
FROM postgis/postgis:16-3.5-alpine AS pgvector-builder | ||
RUN apk add --no-cache git build-base clang15 llvm15-dev llvm15 | ||
WORKDIR /tmp | ||
RUN git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git | ||
RUN git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git | ||
WORKDIR /tmp/pgvector | ||
RUN make | ||
RUN make install | ||
RUN make && make install | ||
|
||
FROM postgis/postgis:15-3.3-alpine | ||
RUN apk add --no-cache postgresql15-plpython3 | ||
FROM postgis/postgis:16-3.5-alpine | ||
RUN apk add --no-cache postgresql16-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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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