我们正在为客户开发应用程序。客户不得看到该代码,因为我们不向他们提供源代码。我们的报价仅包含设置,维护和运行应用程序。
因此,我们在私有Git中有源代码。我们使用dockerfile对其进行编译,并从中生成一个docker映像。
由于我们无法远程访问客户的Container注册表,因此我们不能简单地向其推送新的发行版本。
有没有一种方法可以将新的发行版本导入客户的注册表,而无需将发行代码复制到客户? 也许预编译,然后将编译后的代码复制给客户?
预先致以问候和感谢!
我们正在为客户开发应用程序。客户不得看到该代码,因为我们不向他们提供源代码。我们的报价仅包含设置,维护和运行应用程序。
因此,我们在私有Git中有源代码。我们使用dockerfile对其进行编译,并从中生成一个docker映像。
由于我们无法远程访问客户的Container注册表,因此我们不能简单地向其推送新的发行版本。
有没有一种方法可以将新的发行版本导入客户的注册表,而无需将发行代码复制到客户? 也许预编译,然后将编译后的代码复制给客户?
预先致以问候和感谢!
1 approach should be pushing the docker image to your private hosted Docker registry. And then at your Customer's place, you can use a tool like Nexus(Check here) and configure the Proxy Docker repository which will pull the images from your private docker registry. In this fashion, you are not publishing your code but Docker Image to the customer and they can pull it.
For Proxy Repository information, Check here
A docker image can be saved as a
tar
file using您可以将该文件发送给客户,他们可以使用以下文件将其作为图像加载
现在,他们可以将该映像推送到其专用存储库。