Patent attributes
A computing device receives template files and parameters associated with the template files, where the template files comprise scripts, and where the associated parameters comprise a user preference associated with an efficiency of the image. The computing device may determine dependencies between layers of the scripts based on a unified image model. The unified image model may generate a logic tree that includes nodes, where each one of the nodes represents each one of the layers of the scripts. The computing device may generate an efficient logic tree based on the logic tree and the user preference of a generated image model. The generated image model may generates the efficient logic tree by changing the dependencies of the nodes in the logic tree based on the user preference. Based on the generated efficient logic tree the computing device may build the image.