You will need
- go 1.14 or later
- make
- docker
Clone this repository
$ go get -d github.com/projectriff/cnab-k8s-installer-base/...
$ cd $(go env GOPATH)/src/github.com/projectriff/cnab-k8s-installer-base
- build the run tool
$ make build
- build the docker image
$ docker build -t projectriff/cnab-k8s-installer-base:edge cnab
- Building the cnab bundle with duffle now should use this docker image. example: building cnab-riff now with
duffle build .
- Build the binary for your platform (change the Makefile to remove GOOS=linux etc.
- Set an env var MANIFEST_FILE to point to the manifest file you want
- Set an env var CNAB_ACTION to install or uninstall
- You can also set the LOG_LEVEL to debug for a detailed output
- run ./cnab/app/run