From be832a106fd67ee9e7bdc15808bd223c3be2b163 Mon Sep 17 00:00:00 2001 From: Andrii Nikitin <46994839+andrii-suse@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:07:10 +0100 Subject: [PATCH 1/2] Diagnose zypper in Dockerfile.systemd.postgresql --- t/lib/Dockerfile.systemd.postgresql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/Dockerfile.systemd.postgresql b/t/lib/Dockerfile.systemd.postgresql index 60e21942..319a3f76 100644 --- a/t/lib/Dockerfile.systemd.postgresql +++ b/t/lib/Dockerfile.systemd.postgresql @@ -4,7 +4,7 @@ ENV container podman ENV LANG en_US.UTF-8 RUN zypper ar -f http://mirrorcache.opensuse.org/repositories/openSUSE:infrastructure:MirrorCache/15.5 mc -RUN zypper --gpg-auto-import-keys ref +RUN zypper --gpg-auto-import-keys ref || ( tail -n 250 /var/log/zypper.log ; exit 1 ) RUN zypper -vvvn install systemd curl sudo iputils vi From 50bff53dc6cb10b7d0885e311c93562e90813059 Mon Sep 17 00:00:00 2001 From: Andrii Nikitin <46994839+andrii-suse@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:09:55 +0100 Subject: [PATCH 2/2] Update Dockerfile.systemd.postgresql --- t/lib/Dockerfile.systemd.postgresql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/lib/Dockerfile.systemd.postgresql b/t/lib/Dockerfile.systemd.postgresql index 319a3f76..6f1f0b72 100644 --- a/t/lib/Dockerfile.systemd.postgresql +++ b/t/lib/Dockerfile.systemd.postgresql @@ -4,7 +4,8 @@ ENV container podman ENV LANG en_US.UTF-8 RUN zypper ar -f http://mirrorcache.opensuse.org/repositories/openSUSE:infrastructure:MirrorCache/15.5 mc -RUN zypper --gpg-auto-import-keys ref || ( tail -n 250 /var/log/zypper.log ; exit 1 ) +RUN zypper --gpg-auto-import-keys ref mc || ( tail -n 250 /var/log/zypper.log ; exit 1 ) +RUN zypper ref RUN zypper -vvvn install systemd curl sudo iputils vi