• Lukas Eipert's avatar
    Ensure that package managers clean up · 53809488
    Lukas Eipert authored
    Every package manager should clean up after themselves in order to keep
    docker layers neat and tiny:
    apt (Debian/Ubuntu package manager):
     - unneeded dependencies are cleared (autoremove)
     - caches are cleaned (clean)
     - package lists are deleted
    yum (CentOS package manager),
    zypper (OpenSuse package manager)
     - should clear caches after installing dependencies
    pip (Python package manager),
    apk (Alpine package manager)
     - should use no cache for installing dependencies