Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce size of docker containers #14214

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 10, 2023

  1. Remove apt package lists and make macro to clean up apt and python cache

    Remove the apt package lists (`/var/lib/apt/lists`) from the docker
    containers. This saves about 100MB.
    
    Also, make a macro to clean up the apt and python cache that can then be
    used in all of the containers. This helps make the cleanup be consistent
    across all containers.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    e550824 View commit details
    Browse the repository at this point in the history
  2. Remove runtime dependency on libswsscommon-dev from telemetry

    libswsscommon-dev is a dev package, and shouldn't be needed at runtime.
    
    Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
    saiarcot895 committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    0419554 View commit details
    Browse the repository at this point in the history