Building nsproxy
This project requires golang to be installed with the dependencies in place.
- To pull the dependencies on your box simply issue
make deps
to do all thego get
s for you. - make will accept the following commands:
make nsproxy
will dynamically build nsproxymake stat
will statically build nsproxymake stage
will build and stage all files for preperation of building a containermake link
will link the project to your GOPATH, this way if a pkg changes it will be updated in your GOPATH as wellmake deps
will do all the requiredgo get
s for youmake populate
will populate the local DNS server with entries for testingmake testhealthcheck
will run a health check docker against a local version of nsproxymake rmhealthcheck
will remove the docker containers made bytesthealthcheck
make test
will test against the entries added bymake populate
make docker
will build a docker image. You can specify a non default docker name by editing theIMAGE_NAME
field of the Makefilemake install
will install the compiled nsproxy in /usr/bin/make clean
will clean the project of all tmp directories and binaries