Skip to content

Docker image fails to build due to psycopg2 build failure. #2090

@deafmute1

Description

@deafmute1

Docker image fails to build due to Error: pg_config executable not found. pg_config is required to build psycopg2 from source.

Quick solution is to change base image from python3.10-slim to python3.10 - it builds fine then.

Alternatively you can manually call apt as necessary in dockerfile to setup environment as necessary to install psycopg2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions