Abstract Cloud computing changed the way enterprises use IT. Current cloud applications are generally complex composite applications, which comprise different individual components, each providing a clearly distinguishable piece of functionality. The deployment quickly becomes a complex and time-consuming task that is error-prone in case it is done manually and, hence, should be automated. Thus, the Topology and Orchestration Specification for Cloud Applications (TOSCA) has been introduced and standardized by OASIS to enable a vendor-agnostic modeling of cloud applications and to automate the provisioning and management of cloud applications. To deploy a modelled application automatically, a TOSCA deployment engine consumes a Cloud Service Archive (CSAR) and derives the necessary steps, e.g., to install, configure, and start the application components. Thereby, artifacts, such as the install files, are usually downloaded from the Internet. However, in case of a bad or non-existing Internet connection, the deployment may be interrupted or even canceled. Therefore, external dependencies need to be packaged together with the software itself, forming a so-called self-contained deployment package, in order to ensure successful deployments of the application even without internet connection. Thus, to automatically collect all artifacts that need to be downloaded during the deployment, the Self-Containment Packager Framework provides an automated way of transforming a deployment package that is not self-contained into a self-contained deployment package. However, the Self-Containment Packager Framework currently only supports packaging the artifacts that are downloaded by shell scripts which use apt-get, as well as Ansible scripts and Docker files. Moreover, the framework is currently implemented as a separate service and is not included in the TOSCA modeling tool Winery. In this thesis, dependency resolving functionality of the Self-Containment Packager Framework is implemented within the Winery tool. Additionally, Winery is extended to support virtual machine images in the context of dependency resolving. Therefore, this work enables Self-Containment Package Framework to support virtual machine artifact types with its dependencies and their automated execution using the OpenTOSCA Container as a TOSCA engine.