How to build chkit

If you change Containerum API to use in your projects, you may need to make changes to chkit CLI. Make sure you have Golang >= 1.8 installed.

To get chkit source:

go get -u -v github.com/containerum/chkit
or
# in $GOPATH/src/containerum
git clone https://github.com/containerum/chkit.git

To build chkit from sources:

cd $GOPATH/src/containerum/chkit
make single_release CONTAINERUM_API="https://api.containerum.io"  
# or your Containerum API URL

then extract executable from tar.gz archive to ./build to $GOPATH/bin or another $PATH dir.

Note: if you install chkit to use with Containerum in your cluster, set your local Containerum API URL in the previous step (by default - api.local.containerum.io).