FROM registry.fedoraproject.org/fedora:37 ARG NAME=fedora-toolbox ARG VERSION=37 LABEL com.github.containers.toolbox="true" \ com.redhat.component="$NAME" \ name="$NAME" \ version="$VERSION" \ usage="This image is meant to be used with the toolbox command" \ summary="Base image for creating Fedora toolbox containers" \ maintainer="Debarshi Ray " COPY README.md / RUN rm /etc/rpm/macros.image-language-conf RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf RUN dnf -y upgrade RUN dnf -y swap coreutils-single coreutils-full RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks COPY missing-docs / RUN dnf -y reinstall $(/dev/null; then \ echo "$file: No such file or directory" >&2; \ ret_val=1; \ break; \ fi; \ done &2; \ echo "$broken_packages" >&2; \ false; \ fi RUN dnf clean all