Building nsproxy
This project requires golang to be installed with the dependencies in place.
- To pull the dependencies on your box simply issue
make depsto do all thego gets for you. - make will accept the following commands:
make nsproxywill dynamically build nsproxymake statwill statically build nsproxymake stagewill build and stage all files for preperation of building a containermake linkwill link the project to your GOPATH, this way if a pkg changes it will be updated in your GOPATH as wellmake depswill do all the requiredgo gets for youmake populatewill populate the local DNS server with entries for testingmake testhealthcheckwill run a health check docker against a local version of nsproxymake rmhealthcheckwill remove the docker containers made bytesthealthcheckmake testwill test against the entries added bymake populatemake dockerwill build a docker image. You can specify a non default docker name by editing theIMAGE_NAMEfield of the Makefilemake installwill install the compiled nsproxy in /usr/bin/make cleanwill clean the project of all tmp directories and binaries