anchore / anchore-engine

A service that analyzes docker images and scans for vulnerabilities
Apache License 2.0
1.57k stars 273 forks source link

add libpq-devel to Dockerfile.functional so that psycopg2 can be compiled on ARM #1359

Closed Vijay-P closed 2 years ago

Vijay-P commented 2 years ago

There is no precompiled binary for psycopg2-binary on ARM. When running the functional tests on an ARM machine, psycopg2 fails to compile because pg_config is not available. This PR adds libpq-devel to the Dockerfile for the job runner so that psycopg2 may be compiled from source.