failed to build
=> ERROR [builder 7/7] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go buil 2.4s
[builder 7/7] RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build: #11 1.649 /go/pkg/mod/google.golang.org/[email protected]/internal/channelz/types_linux.go:26:2: missing go.sum entry for module providing package golang.org/x/sys/unix (imported by google.golang.org/grpc/internal/channelz); to add: #11 1.649 go get google.golang.org/grpc/internal/[email protected]
ERROR: Service 'server' failed to build
help me
inside the server dir modify the Dockerfile adding this line "RUN go mod tidy" before this one "RUN go mod download". I have fixed this, but now I get "Cannot check if index exist: elastic: Error 401 (Unauthorized)" from the server container after i run "docker-compose up"