po3rin / llb2dot

llb2dot package lets you to convert BuildKit LLB to dot language to analize. You can also directly load Dockerfile
11 stars 2 forks source link

got unexpected error during the installation using go get #1

Open po3rin opened 5 years ago

po3rin commented 5 years ago

got unexpected error during the installation using go get

# github.com/po3rin/llb2dot
../go/src/github.com/po3rin/llb2dot/llbop.go:48:62: cannot use dgst
(type "github.com/opencontainers/go-digest".Digest) as type 
"github.com/moby/buildkit/vendor/github.com/opencontainers/go-digest".
Digest in map index
sgotand commented 4 years ago

go get seems to work correctly in my environment as bellow, without -u option.

$ go get -v github.com/po3rin/llb2dot/cmd/llb2dot                                                                                                                           
go: finding github.com/po3rin/llb2dot/cmd/llb2dot latest
go: finding github.com/po3rin/llb2dot/cmd latest
go: extracting github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5
go: extracting gonum.org/v1/gonum v0.0.0-20190314102406-9182d211c6c2
go: extracting github.com/pkg/errors v0.8.1
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: extracting github.com/moby/buildkit v0.4.0