You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the only option was to spin up a VM to run code checks, which is
expensive in terms of time.
Add Dockerfile-check to provide a container build for a runtime
environment that supports go tool vet, gofmt, and golint
Add script 'code_checks.sh' intended to be run inside the
Dockerfile-check container that runs 'go tool vet', 'gofmt',
misspell, and 'golint' against packages directories passed in. This
script runs the checks in a different order than the Makefile, to deal
with the more severe issues first, and deal with pretty print
formatting last.
Makefile updated to build the docker container and run it against the
go pakages for netplugin.
Drive-by:
* Fix comment in Dockerfile
* http_proxy and https_proxy are not useful as args when not
referenced
* add GOPATH environment var to Dockerfile for general use
Signed-off-by: Chris Plock <[email protected]>
0 commit comments