diff --git a/Makefile b/Makefile index 36892fb5f..c59244636 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ tests: $(SCOPE_BACKEND_BUILD_UPTODATE) ./tools/test -no-go-get lint: $(SCOPE_BACKEND_BUILD_UPTODATE) - ./tools/lint . + ./tools/lint -ignorespelling "agre " -ignorespelling "AGRE " . prog/static.go: $(SCOPE_BACKEND_BUILD_UPTODATE) esc -o $@ -prefix client/build client/build diff --git a/backend/Dockerfile b/backend/Dockerfile index 566bb049e..b323a7128 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,10 +1,11 @@ FROM golang:1.6.0 -RUN apt-get update && apt-get install -y libpcap-dev python-requests time +RUN apt-get update && apt-get install -y libpcap-dev python-requests time file RUN go clean -i net && go install -tags netgo std && go install -race -tags netgo std RUN go get -tags netgo \ github.com/fzipp/gocyclo \ github.com/golang/lint/golint \ github.com/kisielk/errcheck \ - github.com/mjibson/esc + github.com/mjibson/esc \ + github.com/client9/misspell/cmd/misspell COPY build.sh / ENTRYPOINT ["/build.sh"]