Build images and virtual appliances for deployment to cloud infrastructure