images/fedora/f37, images/fedora/f38: Configure RPM before using DNF
Changes to the RPM configuration should happen before DNF is used.
Otherwise, those changes won't affect the DNF invocations.
Fallout from f5388cfc06
https://github.com/containers/toolbox/issues/60
This commit is contained in:
parent
d932b039c8
commit
5b4a4449b0
2 changed files with 4 additions and 2 deletions
|
@ -11,10 +11,11 @@ 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
|
||||
RUN rm /etc/rpm/macros.image-language.conf
|
||||
|
||||
COPY missing-docs /
|
||||
RUN dnf -y reinstall $(<missing-docs)
|
||||
|
|
|
@ -11,10 +11,11 @@ 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
|
||||
RUN rm /etc/rpm/macros.image-language.conf
|
||||
|
||||
COPY missing-docs /
|
||||
RUN dnf -y reinstall $(<missing-docs)
|
||||
|
|
Loading…
Reference in a new issue