From b72048d3d13ba0ba7b1998f3853f13d43cd7d165 Mon Sep 17 00:00:00 2001 From: ganeshmurthy Date: Fri, 1 Nov 2024 11:15:57 -0400 Subject: [PATCH] Fixes #1639: Removes libsolv, rpm, rpm-libs and libarchive libraries from skupper-router container (cherry picked from commit a5d72259290236d6867647ce4ee116873f4a17c8) --- Containerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containerfile b/Containerfile index d60d9b3fc..56915d125 100644 --- a/Containerfile +++ b/Containerfile @@ -67,6 +67,11 @@ RUN microdnf -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install \ shadow-utils \ && microdnf clean all +# Remove gnutls, libarchive and everything that depends on it. +# https://github.com/skupperproject/skupper-router/issues/1477 +# https://github.com/skupperproject/skupper-router/issues/1639 +RUN microdnf -y remove gnutls glib2 gobject-introspection libpeas microdnf gnupg2 gpgme libdnf json-glib libmodulemd librepo librhsm libsolv rpm rpm-libs libarchive + RUN useradd --uid 10000 runner USER 10000