Patent attributes
Embodiments of the present disclosure relate to update for a configuration file. In an embodiment, a computer-implemented method is disclosed. According to the method, a first container image and a second container image are obtained. The first container image comprise a first sequence of layers built based on a sequence of commands in a configuration file, respectively, and the second container image comprise a second sequence of layers built based on the sequence of commands, respectively. File dependency between at least two commands of the sequence of commands is determined by comparing files associated with the first sequence of layers with files associated with the second sequence of layers. An update to the sequence of commands in the configuration file is determined based on the file dependency. In other embodiments, a system and a computer program product are disclosed.