Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Enhancement debian package manager tweaks #972

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rajpratik71
Copy link
Contributor

Major Changes No 1 : debian package manager 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 .

Major Changes No 2 : added packages apt-utils ca-certificates

Because build is

  1. Slow because "apt-utils" not installed

  2. to avoid build to exits with error without having certificate in wget , curl or even git clone

Signed-off-by: Pratik Raj [email protected]

Major Changes No 1 : debian package manager 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) .

Major Changes No 2 : added packages apt-utils ca-certificates

Because build is

1.  Slow because "apt-utils" not installed

2. to avoid build to exits with error without having certificate

Signed-off-by: Pratik Raj <[email protected]>
@Rajpratik71
Copy link
Contributor Author

@ewilderj @killerducky @jhseu @Kashomon requesting review

@tommadams
Copy link
Contributor

Thanks for the pull request, we appreciate the contribution! Just to let you know, it might be a little while before we are able to test these changes, we're not working on Docker stuff right now.

Do you have some stats about the improvements this makes? Reduction in download size or build time?

@Rajpratik71
Copy link
Contributor Author

Thanks for the pull request, we appreciate the contribution! Just to let you know, it might be a little while before we are able to test these changes, we're not working on Docker stuff right now.

Do you have some stats about the improvements this makes? Reduction in download size or build time?

Not have any stats as figure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants