From d891036e6749f3e3f2527db3cc7beeddb39f0461 Mon Sep 17 00:00:00 2001 From: Onur Tirtir Date: Fri, 3 Jan 2025 11:23:16 +0300 Subject: [PATCH] try --- circleci/images/exttester/Dockerfile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/circleci/images/exttester/Dockerfile b/circleci/images/exttester/Dockerfile index d4eb003..aa31c37 100644 --- a/circleci/images/exttester/Dockerfile +++ b/circleci/images/exttester/Dockerfile @@ -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