如何使用openshift源图像库而不是s2i二进制文件或可执行文件

时间:2018-11-21 13:15:28

标签: docker go github openshift s2i

如何通过Go语言使用openshift源图像库https://github.com/openshift/source-to-image,而不是s2i可执行文件来从docker hub的现有构建器图像中构建新图像。

我需要使用上述库而不是s2i.exe创建一个新映像。

我尝试使用https://github.com/openshift/source-to-image/blob/master/pkg/build/strategies/dockerfile/dockerfile.go构建函数,但它给了我一个错误。

任何人都可以告诉我或至少指导我如何使用此库通过不使用s2i可执行文件从现有的docker hub构建器映像创建新映像。

预先感谢

0 个答案:

没有答案