Skip to content

Commit

Permalink
perf: speed up dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Sep 28, 2024
1 parent af28658 commit a9dc53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM registry.fedoraproject.org/fedora-minimal:41

RUN echo 'max_parallel_downloads=20' >> /etc/dnf/dnf.conf
RUN dnf5 update -y --setopt=install_weak_deps=False

RUN dnf5 install -y --setopt=install_weak_deps=False dnf5-plugins
RUN dnf5 config-manager addrepo --from-repofile='https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo'
RUN dnf5 config-manager addrepo --from-repofile=https://cli.github.com/packages/rpm/gh-cli.repo

RUN dnf5 -y --setopt=install_weak_deps=False install terra-mock-configs subatomic-cli anda mock rpm-build mock-scm rpmlint git-core git-lfs curl wget less podman fuse-overlayfs sudo gh
RUN dnf5 in -y --setopt=install_weak_deps=False --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-{release,mock-configs} subatomic-cli anda mock rpm-build mock-scm rpmlint git-lfs wget less podman fuse-overlayfs sudo gh

RUN dnf5 clean all

0 comments on commit a9dc53f

Please sign in to comment.