From f7b3edc8bbbb8d18337ff87c5589c610be3d2dac Mon Sep 17 00:00:00 2001 From: Uday Kumar <56138653+ukumar009@users.noreply.github.com> Date: Tue, 21 Jan 2025 01:20:42 +0000 Subject: [PATCH 1/2] Add rsyslog & util-linux package Containerfile Added `rsyslog` and `util-linux` package for logging support. --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 00c285692..8b5782c60 100644 --- a/Containerfile +++ b/Containerfile @@ -65,7 +65,7 @@ RUN microdnf -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install \ python3 \ libnghttp2 \ gettext hostname iputils \ - shadow-utils \ + shadow-utils rsyslog util-linux \ && microdnf clean all # Remove gnutls, libarchive and everything that depends on it. From 32f0453316a93054fb67d36eff25e43cd1e31a9e Mon Sep 17 00:00:00 2001 From: Uday Kumar <56138653+ukumar009@users.noreply.github.com> Date: Tue, 21 Jan 2025 16:43:22 +0000 Subject: [PATCH 2/2] systemd-libs is needed for rsyslog package keeping systemd-libs package. because, rsyslog depends on systemd-libs package. --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 8b5782c60..506e3db39 100644 --- a/Containerfile +++ b/Containerfile @@ -71,7 +71,7 @@ RUN microdnf -y --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install \ # 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 libyaml libusbx systemd-libs +RUN microdnf -y remove gnutls glib2 gobject-introspection libpeas microdnf gnupg2 gpgme libdnf json-glib libmodulemd librepo librhsm libsolv rpm rpm-libs libarchive libyaml libusbx RUN useradd --uid 10000 runner USER 10000