#393 fedora-docker-base: Disable dnf-makecache.timer
Merged 5 years ago by mohanboddu. Opened 5 years ago by mzabaluev.
mzabaluev/fedora-kickstarts disable-dnf-makecache  into  master

file modified
+3
@@ -23,6 +23,9 @@ 

  # https://pagure.io/atomic-wg/issue/308

  printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf

  

+ # https://bugzilla.redhat.com/show_bug.cgi?id=1576993

+ systemctl disable dnf-makecache.timer

+ 

  #Mask mount units and getty service so that we don't get login prompt

  systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service

  

When containers based on this image are run with systemd as PID 1,
there should not be dnf cache updates inside the container, at least
by default.

https://bugzilla.redhat.com/show_bug.cgi?id=1576993

Pull-Request has been merged by mohanboddu

5 years ago
Metadata