Skip to content

Conversation

@josep-tecnativa
Copy link
Contributor

@josep-tecnativa josep-tecnativa commented Dec 19, 2025

Alpine no longer provides versioned postgresql*-pgvector packages for older Postgres majors and the unversioned package pulls PG18 by default.
This builds pgvector from source against the base image Postgres to keep Alpine images working across all supported versions.

@josep-tecnativa
Copy link
Contributor Author

@JordiMForgeFlow could you take a look?
Since you proposed adding pgvector, this PR fixes Alpine builds where postgresql-pgvector now pulls the default PG18 and breaks older Postgres images by compiling pgvector from source instead.

You can see in the scheduled workflows that is not longer building when PG>=14 https://github.com/Tecnativa/docker-postgres-autoconf/actions/runs/20200691866

Copy link
Contributor

@JordiMForgeFlow JordiMForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and working fine 👍🏼

@josep-tecnativa josep-tecnativa merged commit 193cc25 into master Dec 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants