Created attachment 1145242 [details] kickstart In an attempt to minimize the size of the docker base image, we have been working to switch some optional dependencies from Requires: to Recommends:. However, we have been unable to exclude these from the image itself, despite explicitly minusing them in %packages. Attached is the kickstart we are using, which uses a custom repository with weakened dependencies. The minus-ed packages are still included in the compose, however nothing hard-requires them as they can be safely dnf erase'd afterwards.
Created attachment 1145243 [details] tdl And here is the TDL file. Image is made with: sudo imagefactory --debug base_image --file-parameter install_script fedora-docker-base-custom.ks fedora-24-alpha.tdl --parameter offline_icicle true sudo imagefactory --debug target_image --id <UUID> docker --parameter compress xz which can then be docker load'ed.
Duping against 1331100 since this is essentially the same issue: the interpretation of weak dependencies is done by dnf and is controllable only through a global configuration variable, and by default we want weak dependencies to be turned on. bug 1331100 has patches to add an option to %packages to turn weak dependencies off. *** This bug has been marked as a duplicate of bug 1331100 ***