From f5388cfc0694ba3e6911bddf0191afa74c0a8b1a Mon Sep 17 00:00:00 2001 From: Nieves Montero Date: Wed, 19 Oct 2022 13:13:00 +0200 Subject: [PATCH] Add corrections to avoid duplicate packages The following lines have been added to the fedora 37 and 38 images: RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks RUN rm /etc/rom/macros.image-language.conf These two lines avoid redundant packages inside the images. https://github.com/containers/toolbox/issues/1136 https://github.com/containers/toolbox/issues/1137 Signed-off-by: Nieves Montero --- images/fedora/f37/Containerfile | 2 ++ images/fedora/f37/extra-packages | 1 - images/fedora/f38/Containerfile | 2 ++ images/fedora/f38/extra-packages | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images/fedora/f37/Containerfile b/images/fedora/f37/Containerfile index 536af5c..2a9a001 100644 --- a/images/fedora/f37/Containerfile +++ b/images/fedora/f37/Containerfile @@ -13,6 +13,8 @@ COPY README.md / RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf RUN dnf -y swap coreutils-single coreutils-full +RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks +RUN rm /etc/rpm/macros.image-language.conf COPY missing-docs / RUN dnf -y reinstall $(