Closed Rajpratik71 closed 4 years ago
@Rajpratik71,
This is a great contribution! Have you measured how much smaller the new images are using the --no-install-recommends
flag?
@Rajpratik71,
This is a great contribution! Have you measured how much smaller the new images are using the
--no-install-recommends
flag?
didn't done that research in terms of figure but in general the improvement is acceptable
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 .
Signed-off-by: Pratik Raj rajpratik71@gmail.com