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 <nmontero@redhat.com>
This commit is contained in:
Nieves Montero 2022-10-19 13:13:00 +02:00 committed by Matthias Clasen
parent a6d7104840
commit f5388cfc06
4 changed files with 4 additions and 2 deletions

View file

@ -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 $(<missing-docs)

View file

@ -7,7 +7,6 @@ findutils
flatpak-spawn
fpaste
git
glibc-all-langpacks
gnupg
gnupg2-smime
gvfs-client

View file

@ -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 $(<missing-docs)

View file

@ -7,7 +7,6 @@ findutils
flatpak-spawn
fpaste
git
glibc-all-langpacks
gnupg
gnupg2-smime
gvfs-client