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

added some apt-get tweaks #333

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Mar 2, 2020

  1. added some cleanup tweaks

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    Removed "sudo" as docker best practice at [Docker Blog](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user) 
    
    Another Cleanup tweaks using 
    
    1. apt-get clean 
    
    2. rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    
    removing downloaded packages and packages list will free up some space ,
    
    results in smaller image size.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    638a81f View commit details
    Browse the repository at this point in the history
  2. Update clean_ubuntu_14.04.sh

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    removing packages with "--purge"  will clean the residual configurations of the packages.
    
    results in smaller image size.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    bfa59b4 View commit details
    Browse the repository at this point in the history
  3. some apt-get tweaks

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    removing packages with "--purge"  will clean the residual configurations of the packages.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    14c1444 View commit details
    Browse the repository at this point in the history
  4. some apt-get tweaks

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    removing packages with "--purge"  will clean the residual configurations of the packages.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    fea3837 View commit details
    Browse the repository at this point in the history
  5. some apt-get tweaks

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    removing packages with "--purge"  will clean the residual configurations of the packages.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    8285929 View commit details
    Browse the repository at this point in the history
  6. some apt-get tweaks

    By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . 
    
    By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install.
    
    This results in smaller downloads and installation of packages .
    
    Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) .
    
    removing packages with "--purge"  will clean the residual configurations of the packages.
    Rajpratik71 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    e6e945d View commit details
    Browse the repository at this point in the history