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 build prerequisites? #5

Closed
asloan7 opened this issue Dec 1, 2018 · 4 comments
Closed

docker build prerequisites? #5

asloan7 opened this issue Dec 1, 2018 · 4 comments

Comments

@asloan7
Copy link

asloan7 commented Dec 1, 2018

getting errors while trying to do docker build, not sure what the prerequisites are (on a Centos linux).

go test github.com/DataReply/alertmanager-sns-forwarder/...

runtime/cgo

exec: "gcc": executable file not found in $PATH
FAIL github.com/DataReply/alertmanager-sns-forwarder [build failed]
FAIL github.com/DataReply/alertmanager-sns-forwarder/arnutil [build failed]
make: *** [Makefile:16: test] Error 2
The command '/bin/sh -c make all' returned a non-zero code: 2

@asloan7
Copy link
Author

asloan7 commented Dec 1, 2018

$ which gcc
/usr/bin/gcc

@olgierdg
Copy link
Member

olgierdg commented Dec 3, 2018

PR #6 should resolve this.

@asloan7
Copy link
Author

asloan7 commented Dec 3, 2018

This worked, thanks!

@olgierdg
Copy link
Member

olgierdg commented Dec 5, 2018

Great, so I'll close this issue.

@olgierdg olgierdg closed this as completed Dec 5, 2018
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