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

multus-networkpolicy image contains huge dnf cache

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.22
    • Networking / multus
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The multus-network-policy container image contains a full dnf cache, which adds an extra 855MiB to the size of the uncompressed image.

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

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

              pliurh Peng Liu
              zabitter Zane Bitter
              None
              None
              Weibin Liang Weibin Liang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: