wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
46.68k stars 1.77k forks source link

Support go-containerregistry as a new image resolver #406

Open Dentrax opened 2 years ago

Dentrax commented 2 years ago

go-containerregistry is a golang library for working with container registries. By supporting this library as a new resolver, we don't need Docker dependency anymore (save & pull stuff in pipeline) since we are able to talk directly with registries. I'm not sure if this is a straightforward task to implement but all we need to do is write a simple converter to convert go-containerregistry models into dives'.

cc @developer-guy

developer-guy commented 2 years ago

We're willing to work on it, just assign it to us @wagoodman 😋🤞

Dentrax commented 1 year ago

Kind ping here 🎗️ @wagoodman Does it make sense in overall?

wagoodman commented 1 year ago

actually, I'd like to rebase dive to use anchore/stereoscope instead, which uses google/go-containerregistry under the hood, but also has many of the filetree objects and layer reasoning needed to drive the analysis and UI.