Implement gosec
@@ -5,6 +5,8 @@ ADD ./ /go/src/github.com/Comcast/kuberhealthy/
WORKDIR /go/src/github.com/Comcast/kuberhealthy/cmd/kuberhealthy
ENV CGO_ENABLED=0
RUN go version
+RUN curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin 2.0.0
+RUN gosec ./...
#RUN go test -v -short -- --debug --forceMaster
RUN go build -v -o kuberhealthy
RUN mkdir /kuberhealthy
