Reducing the size of image files usable for deploying software in computing environments
AssigneeRed Hat, Inc.
InventorsCathal O'Connor, Brian Gallagher
Life of this patent
Estimating the term…
Abstract
The sizes of image files for deploying software in a computing environment can be reduced according to some examples described herein. In one example, a system can identify base image files that each include at least a predefined amount of dependencies relied upon by target software. The system can then select a particular base image file, from the base image files, having a smallest size as compared to a remainder of the base image files. The system can then build a customized image file from the base image file, where the customized image file is configured for deploying the target software to a computing environment.
Claims20
A non-transitory computer-readable medium comprising program code that is executable by a processor for causing the processor to:
- determine dependencies relied upon by target software;
- and
- based on determining the dependencies:
- identify a group of base image files that each include at least a threshold amount of the dependencies relied upon by the target software, the threshold amount being a customizable numerical value;
- select a base image file from the group of base image files, 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 group;
- and
- generate an output indicating how to build a customized image file configured for deploying the target software to a computing environment, the output identifying the base image file as a starting point for building the customized image file.
A method comprising:
- determining, by a processor, dependencies relied upon by target software;
- and
- based on determining the dependencies:
- identifying, by the processor, a group of base image files that each include at least a threshold amount of the dependencies relied upon by the target software, the threshold amount being a customizable numerical value;
- selecting, by the processor, a base image file from the group of base image files, 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 group;
- and
- generating, by the processor, an output indicating how to build a customized image file configured for deploying the target software to a computing environment, the output identifying the base image file as a starting point for building the customized image file.
A system comprising:
- a processor;
- and
- a memory including instructions that are executable by the processor for causing the processor to:
- determine dependencies relied upon by target software;
- and
- based on determining the dependencies:
- identify a group of base image files that each include at least a threshold amount of the dependencies relied upon by the target software, the threshold amount being a customizable numerical value;
- select a base image file from the group of base image files, 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 group;
- and
- generate an output that identifies the base image file as a starting point for building a customized image file for the target software.
Dependencies are inferred from the claim text.