-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Description
Hello I am trying to build a docker image and it's failing with the following error message:
Step 5/11 : RUN make init && make
---> Running in 408022b2de85
go get -u github.com/AlekSi/gocoverutil
go: downloading github.com/AlekSi/gocoverutil v0.2.0
go: downloading golang.org/x/tools v0.1.9
go get: added github.com/AlekSi/gocoverutil v0.2.0
go get: upgraded golang.org/x/sys v0.0.0-20170710161658-abf9c25f5445 => v0.0.0-20211019181941-9d821ace8654
go get: added golang.org/x/tools v0.1.9
go install -v
go: inconsistent vendoring in /go/src/github.com/ClickHouse/clickhouse_exporter:
github.com/AlekSi/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/[email protected]: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod
To ignore the vendor directory, use -mod=readonly or -mod=mod.
To sync the vendor directory, run:
go mod vendor
make: *** [Makefile:7: build] Error 1
The command '/bin/sh -c make init && make' returned a non-zero code: 2
Could you please help.
Metadata
Metadata
Assignees
Labels
No labels