Skip to content

Commit a3c3a9f

Browse files
committed
chore(deps): bump postgres image version
1 parent 0465f77 commit a3c3a9f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docker/postgres/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
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
98
RUN apk add --no-cache postgresql17-plpython3
109
COPY --from=pgvector-builder /usr/local/lib/postgresql/bitcode/vector.index.bc /usr/local/lib/postgresql/bitcode/vector.index.bc
1110
COPY --from=pgvector-builder /usr/local/lib/postgresql/vector.so /usr/local/lib/postgresql/vector.so

0 commit comments

Comments
 (0)