Install no longer working on Ubuntu 16.04
Closed this issue · 6 comments
Hi,
Commit 5a01c07 seems to introduce a change that depends on Go 1.7, which rules out vanilla Ubuntu 16.04 LTS.
Is that deliberate? Is hunting down a golang 1.7 PPA the only option now?
thanks,
Cam
Can you share with me the error you are getting?
Sorry my bad.
root@18a8ae5c91f4:/# export GOPATH="/usr/local/go" && go get github.com/pshima/consul-snapshot
package context: unrecognized import path "context" (import path does not begin with hostname)
Can you give it another try?
Snagged the 16.04 container, apt-get install golang-go git
and then your above with success.
Added travis builds for 1.6 and 1.7 which are still failing but suspect that is something in my make file that I need to fix.
So the bad news is that consul requires 1.8 which is required by consul-snapshot and it is the consul pull that is failing.
Honest question though - why is the reason for building instead of using one of the pre built binaries?
Yeah fair question. We've had some ansible automation that's been installing it this way for a while, that's all.
So I guess we'll change our playbook to use the binary install method.
Thanks.