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

Seems not work with latest dlv #1

Open
funte opened this issue Aug 15, 2024 · 0 comments
Open

Seems not work with latest dlv #1

funte opened this issue Aug 15, 2024 · 0 comments

Comments

@funte
Copy link

funte commented Aug 15, 2024

Docker build output this:

10.01 note: module requires Go 1.21
------
Dockerfile.debug:11
--------------------
   9 |     COPY . .
  10 |
  11 | >>> RUN CGO_ENABLED=0 go install -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@latest
  12 |
  13 |     RUN CGO_ENABLED=0 go build -gcflags "all=-N -l" -o go-debugger .
--------------------
ERROR: failed to solve: process "/bin/sh -c CGO_ENABLED=0 go install -ldflags \"-s -w -extldflags '-static'\" github.com/go-delve/delve/cmd/dlv@latest" did not complete successfully: exit code: 2
@funte funte changed the title Seems not work with latest dlv Seems not work with latest dlv in go1.22 Aug 15, 2024
@funte funte changed the title Seems not work with latest dlv in go1.22 Seems not work with latest dlv Aug 15, 2024
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