Note: See Prerequisite
You can set the docker client to the Minikube docker environment by executing:
- windows:
@FOR /f "tokens=*" %i IN ('minikube docker-env') DO @%i - linux/mac:
eval $(minikube docker-env)
Navigate to the project root directory.
The following command will build Service Manager binary and put it in the bin folder. Make sure you set PLATFORM and ARCH environment variable to your platform and architecture:
make buildAlternatively you can build a docker image:
docker build -t "service-manager:latest" -f Dockerfile .Navigate to the project root directory.
To build an executable run the following command:
go build -o cf-proxy github.com/Peripli/service-broker-proxy-cfNavigate to the project root directory.
Build the image:
docker build -t "sb-proxy-k8s:latest" -f Dockerfile .If you have set your docker client to the Minikube docker you can directly use the above image to run a pod with the k8s proxy.