Skip to content

Commit

Permalink
chore(dev-deps): bump pgvector, clang and llvm versions (#10614)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Dec 26, 2024
1 parent 82bb32d commit ac20fae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ services:
- $PWD/docker/mysql:/docker-entrypoint-initdb.d:ro

postgres:
user: postgres
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ibis_testing
Expand Down
10 changes: 5 additions & 5 deletions docker/postgres/Dockerfile
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

0 comments on commit ac20fae

Please sign in to comment.