Patent ID: 11928452
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A non-transitory computer-readable medium comprising program code that is executable by a processor for causing the processor to:
receive an indication of target software that is to be combined with a base image file to generate a customized image file, the customized image file being configured for deploying the target software in a computing environment;
determine a threshold amount of the target software's dependencies that must be included in the base image file, the threshold amount of dependencies being a customizable numerical value usable as a selection criterion for selecting the base image file from among a group of candidate base image files;
identify a subset of the group of candidate base image files that satisfy the selection criterion by, for each base image file in the group of candidate base image files:
determining a respective number of dependencies of the target software that are present in the base image file;
determining whether the respective number of dependencies in the base image file is greater than or equal to the threshold amount of dependencies; and
in response to determining that the respective number of dependencies in the base image file is greater than or equal to the threshold amount of dependencies, incorporating the base image file into the subset;

select the base image file, from the subset, in response to determining that the base image file has a smallest size as compared to a remainder of the base image files in the subset; and
based on selecting the base image file, build the customized image file for the target software using the base image file.