Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
onurctirtir committed Jan 3, 2025
1 parent 0a52043 commit d891036
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions circleci/images/exttester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,23 @@ RUN <<'EOF'
# install postgres ecosystem for pg version: $PG_VERSION
set -eux

DEBIAN_FRONTEND=noninteractive apt purge -y \
libpq5 \

# debug
ls -la /usr/lib/x86_64-linux-gnu/libpq.so*

# remove the libpq.so* files if any
rm /usr/lib/x86_64-linux-gnu/libpq.so* | true

# debug
ls -la /usr/lib/x86_64-linux-gnu/libpq.so*

# install key and repositories
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list

DEBIAN_FRONTEND=noninteractive apt purge -y \
libpq5 \

apt-get update

# infer the pgdgversion of postgres based on the $PG_VERSION
Expand Down

0 comments on commit d891036

Please sign in to comment.