File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- FROM postgis/postgis:17-3.5-alpine AS pgvector-builder
2- RUN apk add --no-cache git build-base clang19 llvm19-dev llvm19
3- WORKDIR /tmp
4- RUN git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git
5- WORKDIR /tmp/pgvector
6- RUN make && make install
1+ FROM postgis/postgis:17-3.6-alpine AS pgvector-builder
2+ RUN apk add --no-cache git build-base clang19 llvm19
3+ RUN git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git /tmp/pgvector
4+ RUN make -C /tmp/pgvector -j "$(nproc)"
5+ RUN make -C /tmp/pgvector -j "$(nproc)" install
76
8- FROM postgis/postgis:17-3.5 -alpine
7+ FROM postgis/postgis:17-3.6 -alpine
98RUN apk add --no-cache postgresql17-plpython3
109COPY --from=pgvector-builder /usr/local/lib/postgresql/bitcode/vector.index.bc /usr/local/lib/postgresql/bitcode/vector.index.bc
1110COPY --from=pgvector-builder /usr/local/lib/postgresql/vector.so /usr/local/lib/postgresql/vector.so
You can’t perform that action at this time.
0 commit comments