Skip to content

optimization debian package manager tweaks#203

Open
rajpratik71 wants to merge 1 commit into
swiftlang:mainfrom
rajpratik71:enhancement/apt
Open

optimization debian package manager tweaks#203
rajpratik71 wants to merge 1 commit into
swiftlang:mainfrom
rajpratik71:enhancement/apt

Conversation

@rajpratik71
Copy link
Copy Markdown

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 .

Also , 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 rajpratik71@gmail.com

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) .

Also , 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 <rajpratik71@gmail.com>
@rajpratik71
Copy link
Copy Markdown
Author

Fresh pull of #158 to main branch after rebase from upstream

Copy link
Copy Markdown

@albertoblue87-netizen albertoblue87-netizen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hecho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants