camsas / firmament

The Firmament cluster scheduling platform
Apache License 2.0
415 stars 79 forks source link

added some cleanup tweaks #74

Open Rajpratik71 opened 4 years ago

Rajpratik71 commented 4 years ago

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 .

Another Cleanup tweaks using

apt-get clean

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.