FROM fedora:RELEASE COPY repos/*.repo /etc/yum/repos.d/ RUN dnf --setopt=tsflags=nodocs -y install createrepo \ https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm \ 'dnf-command(copr)' \ 'dnf-command(config-manager)' \ 'dnf-command(download)' \ findutils \ rsync \ && dnf config-manager --set-disabled fedora fedora-modular updates-modular updates \ ; dnf copr -y enable principis/howdy \ ; dnf copr -y enable principis/NoiseTorch \ ; dnf copr -y enable principis/tldr-sharp \ ; dnf clean all && rm -rf /var/log/dnf* ARG USER=mirror ARG UID=1001 ARG GID=1001 RUN useradd -m ${USER} --uid=${UID} VOLUME /data VOLUME /rpmfusion VOLUME /cache ENV PACKAGES="" COPY --chown=mirror:mirror run.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]