mimir icon indicating copy to clipboard operation
mimir copied to clipboard

Error build mimir locally using make - GOVOLUMES directory not found

Open tianhaogu opened this issue 1 year ago • 0 comments

When I try to build mimir locally using makefile make --debug=v on Windows Git Bash, it gives me the following error:

>>>> Entering build container: protos

time winpty docker run --rm --tty -i -v ~/.ssh/:/root/.ssh:delegated,z -v /c/Users/<username>/mimir/mimir-go-cache:/go/cache -v /c/Users/<username>/mimir/mimir-go-pkg:/go/pkg -v /c/Users/<username>/mimir/mimir-go-src:/go/src/github.com/grafana/mimir:delegated,z grafana/mimir-build-image GOOS=linux GOARCH=amd64 BINARY_SUFFIX="" protos;

stat: cannot statx '/go/src/github.com/grafana/mimir': No such file or directory

make: *** [Makefile:305: protos] Error 1

I almost made no change to the Makefile, the /go/src/github.com/grafana/mimir is on line 298 of the Makefile as part of the GOVOLUMES, could anyone please help me take a look at this error? Thank you!

tianhaogu avatar Oct 15 '24 18:10 tianhaogu