tinrab / meower

Social network for cats
MIT License
261 stars 47 forks source link

elastic version 6 is not installed #4

Open ielyanov opened 4 years ago

ielyanov commented 4 years ago

I execute command docker-compose up -d --build But i got error

Step 23/28 : RUN go get github.com/olivere/elastic ---> Running in 51279699b16d Removing intermediate container 51279699b16d ---> 7ee7009f0dab Step 24/28 : RUN go get github.com/mailru/easyjson ---> Running in 8e0e46af8e25 Removing intermediate container 8e0e46af8e25 ---> 576078d57fa8 Step 25/28 : RUN go install ./... ---> Running in fb3b52ec19f7 ../../olivere/elastic/client.go:24:2: cannot find package "github.com/olivere/elastic/v7/config" in any of: /usr/local/go/src/github.com/olivere/elastic/v7/config (from $GOROOT) /go/src/github.com/olivere/elastic/v7/config (from $GOPATH) ../../olivere/elastic/bulk.go:15:2: cannot find package "github.com/olivere/elastic/v7/uritemplates" in any of: /usr/local/go/src/github.com/olivere/elastic/v7/uritemplates (from $GOROOT) /go/src/github.com/olivere/elastic/v7/uritemplates (from $GOPATH) ERROR: Service 'pusher' failed to build: The command '/bin/sh -c go install ./...' returned a non-zero code: 1

What`s wrong?

tinrab commented 4 years ago

Fixed in latest master. Upgraded to Go modules and updated dependencies.