From 34bdf9172ef33269a19f4dca8f18db2b7691a08a Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Tue, 21 Jan 2025 22:29:05 +0530 Subject: [PATCH 1/3] feat: docker image for pg 11.6 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cb417e..896839b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,15 @@ ARG PGVECTOR_TAG=v0.6.2 -ARG PG_MAJOR=16 +ARG PG_MAJOR=11 FROM bitnami/git:2.44.0 AS git +11.6.7 + ARG PGVECTOR_TAG WORKDIR /workspace RUN git clone https://github.com/pgvector/pgvector && cd pgvector && git checkout ${PGVECTOR_TAG} ARG PG_MAJOR -FROM bitnami/postgresql:${PG_MAJOR}-debian-12 +FROM bitnami/postgresql:${PG_MAJOR}-debian-10 USER root COPY --from=git /workspace/pgvector /tmp/pgvector From 7d3f4963ac74b20f1a5b498241a11cf8d3740001 Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Tue, 21 Jan 2025 22:30:40 +0530 Subject: [PATCH 2/3] chore: refactor --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 896839b..79c154b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ ARG PGVECTOR_TAG=v0.6.2 ARG PG_MAJOR=11 FROM bitnami/git:2.44.0 AS git -11.6.7 ARG PGVECTOR_TAG WORKDIR /workspace From 75b3c541679ccb010d5b025dec4df7824c4b46bb Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Tue, 21 Jan 2025 22:36:24 +0530 Subject: [PATCH 3/3] chore: try pg version 0.5.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 79c154b..6ac54ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG PGVECTOR_TAG=v0.6.2 +ARG PGVECTOR_TAG=v0.5.1 ARG PG_MAJOR=11 FROM bitnami/git:2.44.0 AS git