Patent attributes
A user requests installation of a software package on a server. The server identifies an artifact for the software package installed on a first layer of an overlay file system. Based on dependency information for the artifact, the server identifies one or more additional artifacts that the artifact depends on, installed on additional layers of the overlay file system. Instead of duplicating the software package and its dependencies in storage for the user, the server updates a layer strategy for the user. A layer strategy indicates a set of layers to be used by an overlay file system in generating a logical file system. The updated layer strategy for the user includes both the layer for the artifact of the requested software package and the layers for the additional artifacts that the software package depends on.