You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 2/10 : RUN go get -u -v github.com/derekparker/delve/cmd/dlv
---> Running in 021b01f8ca84
github.com/derekparker/delve (download)
github.com/derekparker/delve/vendor/gopkg.in/yaml.v2
github.com/derekparker/delve/pkg/goversion
github.com/derekparker/delve/pkg/dwarf/util
github.com/derekparker/delve/pkg/dwarf/op
github.com/derekparker/delve/pkg/dwarf/godwarf
github.com/derekparker/delve/pkg/dwarf/frame
github.com/derekparker/delve/pkg/dwarf/line
github.com/derekparker/delve/pkg/dwarf/reader
# github.com/derekparker/delve/pkg/dwarf/reader
src/github.com/derekparker/delve/pkg/dwarf/reader/variables.go:78: vrdr.dwarf.Ranges undefined (type *dwarf.Data has no field or method Ranges, but does have dwarf.ranges)
github.com/derekparker/delve/vendor/golang.org/x/arch/x86/x86asm
github.com/derekparker/delve/pkg/config
github.com/derekparker/delve/vendor/golang.org/x/sys/unix
github.com/derekparker/delve/vendor/github.com/peterh/liner
github.com/derekparker/delve/pkg/version
github.com/derekparker/delve/vendor/github.com/spf13/pflag
github.com/derekparker/delve/vendor/github.com/spf13/cobra
The command '/bin/sh -c go get -u -v github.com/derekparker/delve/cmd/dlv' returned a non-zero code: 2
Noticed the line above which includes "vrdr.dwarf.Ranges undefined".
"FROM golang:latest" certainly works. The point I was trying to make is that the previous version, "FROM golang:1.6" fails; anyone who tries to run this project with golang:1.6 will see an error. I would agree golang:latest is probably preferable, though some might argue that a project author should specify a version that is known to work.
Docker build:
Fails with following:
Noticed the line above which includes "vrdr.dwarf.Ranges undefined".
Traced to this problem https://github.com/derekparker/delve/issues/936
Resolution is that golang version 1.7 or greater is required. I will create a pull request.
The text was updated successfully, but these errors were encountered: