docker-coala-base icon indicating copy to clipboard operation
docker-coala-base copied to clipboard

No recommends

Open jayvdb opened this issue 7 years ago • 1 comments

zypper install has a --no-recommends mode.

Without it, latest master shows

The following 332 NEW packages are going to be installed:
  ...

The following 4 packages are going to be upgraded:

  libgcc_s1 libgcrypt20 libncurses6 libstdc++6

4 packages to upgrade, 332 new.
Overall download size: 406.0 MiB. Already cached: 0 B. After the operation, additional 1.4 GiB will be used.

With --no-recommends, there is surprisingly actually more packages, and little difference in the image increase:

The following 356 NEW packages are going to be installed:
  ...

The following 7 packages are going to be upgraded:

  libgcc_s1 libgcrypt20 libncurses6 libopenssl1_0_0 libstdc++6 openssl openssl-1_0_0

7 packages to upgrade, 332 new.
Overall download size: 407.9 MiB. Already cached: 0 B. After the operation, additional 1.4 GiB will be used.

But maybe that can be improved upon.

jayvdb avatar Jun 30 '17 15:06 jayvdb

It may be that the default config already enables this option. Possibly this line:

solver.onlyRequires = true

jayvdb avatar Jul 01 '17 00:07 jayvdb