obs-build icon indicating copy to clipboard operation
obs-build copied to clipboard

Feature Request: Interpret zypper --recommends properly in Dockerfile builds

Open Werkov opened this issue 2 years ago • 0 comments

Container builds in OBS with Dockerfile don't run with the same repositories as if the commands were run manually. OBS parses the Dockerfile internaly and creates a temporary repo with preloaded build deps. An understandable default for container images is solver.onlyRequires=false, however, some packages may be desired with zypper in --recommends.

OBS should preload the recommended deps (transitive closure) and let the zypper running inside container during build decide the resolution (subset of the closure may be installed).

Werkov avatar Aug 22 '23 13:08 Werkov