New To Beats : Unable to build custom beat for cross-environment

Hi Deepak,

I ran a similar test with a community beat I wrote and it worked:

openconfigbeat $ GOOS=linux GOARCH=amd64 make
go build
openconfigbeat $ docker run -ti -v `pwd`:/openconfigbeat ubuntu /openconfigbeat/openconfigbeat
openconfigbeat2017/03/15 21:46:17.114039 beat.go:369: CRIT Exiting: error loading config file: stat openconfigbeat.yml: no such file or directory
Exiting: error loading config file: stat openconfigbeat.yml: no such file or directory

For your reference the Makefile in this case looks like this: