Docker新手进行POC。我们有一个依赖大型第三方库(30GB +)的Web服务。我正在研究如何将其放入容器,以便可以运行安装程序。
根据我的理解,就像我说的那样,我是新手,Dockerfile会产生层吗?因此,如果第一步是安装30GB库,那应该是一个缓存层,对吗?
一些丑陋的收获:
1) the library needs to be updated once a month
2) we have a build / deployment group, so I'd like to set it up in a way where they can do it... they aren't developers, so this would ideally be as automated as possible for them. They do build the code and have a powershell script to deploy to all the VMs we currently use.
3) they use team build to build the visual studio solutions, but they just push the build button, they don't really do much beyond that.
因此,理想情况下,他们将下载每月更新zip,将其放在特定位置,然后运行团队构建,然后dockerfile将zip复制到容器中并运行每月安装。
显然,我不想在每次构建时都从头开始重建整个映像,这就是为什么我提到这将是第一步。
还是我需要完成构建自定义图像的整个过程?