Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image? #1

Open
shantanuo opened this issue Dec 14, 2016 · 2 comments
Open

Docker image? #1

shantanuo opened this issue Dec 14, 2016 · 2 comments

Comments

@shantanuo
Copy link

shantanuo commented Dec 14, 2016

I could not install the package on Amazon EC2 instance. Is docker image available?

[root@ip-10-184-177-103 amazonbeat]# make testsuite
rm -rf build amazonbeat amazonbeat.test amazonbeat.exe amazonbeat.test.exe _meta/fields.generated.yml
make unit-tests
make[1]: Entering directory `/home/ec2-user/amazonbeat'
mkdir -p /home/ec2-user/amazonbeat/build/coverage
gotestcover is needed to fetch coverage for multiple packages
go get github.com/elastic/beats/vendor/github.com/pierrre/gotestcover
import cycle not allowed
package github.com/elastic/beats/vendor/github.com/pierrre/gotestcover
        imports bufio
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports unsafe
        imports runtime
make[1]: *** [prepare-tests] Error 1
make[1]: Leaving directory `/home/ec2-user/amazonbeat'
make: *** [testsuite] Error 2

@nftechie
Copy link
Owner

Hey @shantanuo, thanks for sharing the errors. Could you try the following:

  1. re-clone the repo
  2. cd into the project
  3. run "make"
  4. run "./amazonbeat"

Let me know if this runs successfully or throws the same error as testsuite. It seems there is a circular dependency issue when running the testsuite. I'll look into this further.

To resolve the testsuite issues, you could also try running "go get github.com/elastic/beats/vendor/github.com/pierrre/gotestcover" before "make testsuite" to see if it resolves the dependency issue.

Docker image is not yet available. I'll get it up and running soon and let you know!

@nftechie
Copy link
Owner

Also, could you type "go version" and let me know what version you're running? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants