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

make build-docker failed due to mismatched Go version #98

Open
bap2pecs opened this issue Dec 1, 2024 · 0 comments · May be fixed by #99
Open

make build-docker failed due to mismatched Go version #98

bap2pecs opened this issue Dec 1, 2024 · 0 comments · May be fixed by #99

Comments

@bap2pecs
Copy link

bap2pecs commented Dec 1, 2024

I got

 => ERROR [9/9] RUN go build -o /                               49.8s
------                                                                
 > [9/9] RUN go build -o /:                                           
13.88 github.com/erigontech/diagnostics: cannot compile Go 1.22 code  
32.47 github.com/erigontech/diagnostics/internal/logging: cannot compile Go 1.22 code                                                       
38.12 github.com/erigontech/diagnostics/internal/erigon_node: cannot compile Go 1.22 code
------
Dockerfile:14
--------------------
  12 |     WORKDIR /app/cmd/diagnostics
  13 |     
  14 | >>> RUN go build -o /
  15 |     
  16 |     EXPOSE 8080
--------------------
ERROR: failed to solve: process "/bin/sh -c go build -o /" did not complete successfully: exit code: 1
make: *** [Makefile:24: build-docker] Error 1
@bap2pecs bap2pecs linked a pull request Dec 1, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant