From ac20faeacd9b06c002fee0dd935fb898198f4720 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 26 Dec 2024 07:44:45 -0500 Subject: [PATCH] chore(dev-deps): bump pgvector, clang and llvm versions (#10614) --- compose.yaml | 1 - docker/postgres/Dockerfile | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/compose.yaml b/compose.yaml index bc025a6404ba..dbf661937b3c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -38,7 +38,6 @@ services: - $PWD/docker/mysql:/docker-entrypoint-initdb.d:ro postgres: - user: postgres environment: POSTGRES_PASSWORD: postgres POSTGRES_DB: ibis_testing diff --git a/docker/postgres/Dockerfile b/docker/postgres/Dockerfile index 477d860d8b75..a47152507b98 100644 --- a/docker/postgres/Dockerfile +++ b/docker/postgres/Dockerfile @@ -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