From fc474e1dcc92e47c1ea96fc664c2e28dc6837463 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 1 Feb 2023 00:32:45 +0100 Subject: [PATCH] Remove RPM configuration to strip out translations Note that this doesn't restore the translations that were stripped out from the base fedora image. It only ensures that subsequent RPM transactions retain the translations. https://github.com/containers/toolbox/issues/60 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a1c0f93..ef99f70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ LABEL com.github.containers.toolbox="true" \ COPY README.md / +RUN rm /etc/rpm/macros.image-language-conf 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