Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-76464

insights-runtime-extractor image contains huge dnf cache

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.22
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      The insights-runtime-extractor container image contains a full dnf cache, which adds an extra 901MiB to the size of the uncompressed image.

      After installing packages using dnf in the Containerfile, we should do:

      dnf clean all && rm -rf /var/cache/dnf/*
      

              jmesnil1@redhat.com Jeff Mesnil
              zabitter Zane Bitter
              None
              None
              Jeff Mesnil Jeff Mesnil
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: