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
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?