Skip to content

Commit 4fcaa39

Browse files
committed
Added a Dockerfile that pulls in pgvector extension files and injects them into a standard bitnami/postgresql image.
1 parent f475091 commit 4fcaa39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM pgvector/pgvector:pg16 AS builder
2+
3+
FROM bitnami/postgresql:16.1.0-debian-11-r15
4+
5+
COPY --from=builder /usr/lib/postgresql/16/lib/vector.so /opt/bitnami/postgresql/lib/
6+
COPY --from=builder /usr/share/postgresql/16/extension/vector* /opt/bitnami/postgresql/share/extension/

0 commit comments

Comments
 (0)