Skip to content

Commit

Permalink
install libpq first
Browse files Browse the repository at this point in the history
  • Loading branch information
onurctirtir committed Jan 3, 2025
1 parent 8b26747 commit 278c385
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions circleci/images/exttester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,14 @@ apt-get update
# infer the pgdgversion of postgres based on the $PG_VERSION
pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep "${PG_VERSION}" | awk '{print $2}' | head -n1 )


apt-get install -y --no-install-recommends --allow-downgrades \
libdbi-perl \
libdbd-pg-perl \
libpq-dev=${pgdg_version} \
libpq5=${pgdg_version} \

apt-get install -y --no-install-recommends --allow-downgrades \
libdbi-perl \
libdbd-pg-perl \
postgresql-${PG_MAJOR}=${pgdg_version} \
postgresql-client-${PG_MAJOR}=${pgdg_version} \
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
Expand Down

0 comments on commit 278c385

Please sign in to comment.