Setup S2I

Installation

See also the [source-to-image README](https://github.com/openshift/source-to-image) on Github.

Install using Homebrew:

$ brew install source-to-image

Install from source code:

$ cd source-to-image-v1.1.14-874754de-darwin-amd64
$ mkdir /usr/local/share/s2i
$ cp * /usr/local/share/s2i
  • Add the s2i directory to the path,

$ vi ~/.bash_profile

export S2I_HOME=/usr/local/share/s2i
export PATH=$S2I_HOME:$PATH

:wq
  • Restart the terminal to reload the ~/.bash_profile

  • Try it,

Last updated

Was this helpful?