-
Notifications
You must be signed in to change notification settings - Fork 6
Building
Matthew Faltys edited this page Jul 5, 2016
·
1 revision
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 nsproxy -
make statwill statically build nsproxy -
make stagewill build and stage all files for preperation of building a container -
make linkwill link the project to your GOPATH, this way if a pkg changes it will be updated in your GOPATH as well -
make depswill do all the requiredgo gets for you -
make populatewill populate the local DNS server with entries for testing -
make testhealthcheckwill run a health check docker against a local version of nsproxy -
make rmhealthcheckwill remove the docker containers made bytesthealthcheck -
make testwill test against the entries added bymake populate -
make dockerwill build a docker image. You can specify a non default docker name by editing theIMAGE_NAMEfield of the Makefile -
make installwill install the compiled nsproxy in /usr/bin/ -
make cleanwill clean the project of all tmp directories and binaries
-