Skip to content

Postgresql container could contain the pg_vector extension #626

@TomasKorbar

Description

@TomasKorbar

Container platform

No response

Version

All

OS version of the container image

CentOS Stream 9

Bugzilla, Jira

No response

Description

The current postgresql container images do not contain pg_vector extension by default, which forces developers to build their own image like this:

FROM quay.io/sclorg/postgresql-16-c10s
USER 0
RUN dnf install -y pgvector && dnf clean all
USER 26

Reproducer

Run container image with POSTGRESQL_EXTENSIONS env var set to "vector". If pg_vector is in the image then it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions