Ensure that coreutils-single is replaced by coreutils-full

It's true that the fedora base images no longer come with
coreutils-single, but they used to, and the ubi base images still do.
Therefore, it's worth being extra defensive about this.

It's better to make the build system execute one extra redundant
command than expose users to a bug because of a change that snuck in
unnoticed.

This reverts commit a2171d8742.

https://github.com/containers/toolbox/pull/931
This commit is contained in:
rishi 2021-11-25 19:46:14 +01:00
commit 76aeb34ee9

View file

@ -13,6 +13,7 @@ LABEL com.github.containers.toolbox="true" \
COPY README.md /
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y swap coreutils-single coreutils-full
COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)