We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker image fails to build due to Error: pg_config executable not found. pg_config is required to build psycopg2 from source.
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.
python3.10-slim
python3.10
Alternatively you can manually call apt as necessary in dockerfile to setup environment as necessary to install psycopg2
apt
psycopg2
The text was updated successfully, but these errors were encountered:
Update Dockerfile
a979e48
Fix UltimaHoarder#2090
Successfully merging a pull request may close this issue.
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
topython3.10
- it builds fine then.Alternatively you can manually call
apt
as necessary in dockerfile to setup environment as necessary to installpsycopg2
The text was updated successfully, but these errors were encountered: