dnf: optimise dowload speed, possibly save storage
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-08-13 03:28:55 +02:00
parent 892564909c
commit 434e69e83e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -11,7 +11,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.license=GPL-3.0
RUN dnf --refresh upgrade -y
RUN printf "[main]\ngpg_check=1\ninstallonly_limit=2\nclean_requirements_on_remove=True\nfastestmirror=True\nmax_parallel_downloads=7\n" > /etc/dnf/dnf.conf; \
cat /etc/dnf/dnf.conf; \
dnf --refresh upgrade -y
RUN dnf install --nodocs -y \
git \
make \