From: amaranxm (@amaranxm) <noreply+amaranxm@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #826: container-error: program "postgres" is needed by initdb but was not found
Date: Wed, 14 May 2025 09:14:13 +0000
Message-ID: <gh-pgvector-pgvector-826-c2879440969@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-826@github.com>
References: <gh-pgvector-pgvector-826@github.com>
I ended up fixing it by building a pgvector image that is based on a bullseye-based Postgres image
ARG PG_MAJOR=16
FROM postgres:${PG_MAJOR}-bullseye