How to use openshift source-to-image library instead of s2i binary or executable file

305 Views Asked by At

How to use openshift source-to-image library https://github.com/openshift/source-to-image using go language,instead of s2i executable to build a new image from existing builder images from docker hub.

I need to create a new image by using above library and not using s2i.exe.

I have tried using https://github.com/openshift/source-to-image/blob/master/pkg/build/strategies/dockerfile/dockerfile.go Build function but it gives me an error.

Can anyone tell me or atleast guide me how to use this library to create a new image from existing docker hub builder images, by not using s2i executable.

Thanks in advance

0

There are 0 best solutions below