- Install Openshift s2i binary
- Clone current repository
- Run
make
Just simply run the following command:
s2i build <source_code_location> golang-builder <image>
- Build an application Docker image from a Git repository:
$ s2i build git://github.com/jteso/envoy golang-builder envoy-app
- Build from a local directory
$ s2i build . golang-builder your-app