Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image build is not working #68

Open
zozo6015 opened this issue Feb 12, 2022 · 0 comments
Open

Docker image build is not working #68

zozo6015 opened this issue Feb 12, 2022 · 0 comments

Comments

@zozo6015
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant