wagoodman / dive

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

Cloud Native Buildpack integration #314

Open dwillist opened 4 years ago

dwillist commented 4 years ago

Hey,

Thanks for the great tool!

I’m wondering how interested you’d be in collaborating with the Cloud Native Buildpacks (CNB) project? The TLDR; of the CNB project is provide tools to build OCI images without Dockerfiles. Because we build images in a different way, they have lot of additional metadata.

Can you give us a way to render this extra-metadata to make these images more valuable? It seems most of the dive rendering logic is couple to the underlying data structures, and we would like an effective way to change some of the contents of the Layers, LayerDetails and Image Details displays.

@nebhale

wagoodman commented 4 years ago

@dwillist sounds like fun! I've been pondering ways to make dive more naturally extensible but haven't started that undertaking yet. It would be helpful to learn more about your specific use cases and potential changes they would bring: would this mean adding extra columns to tabular output? modifying existing row data? adding more UI panes? Would this affect the file-tree layout as well? I'm curious to hear more about what you had in mind.

dwillist commented 3 years ago

@wagoodman, Hey apologies for the delay. We are looking to make a couple changes namely: 1) Allow stacking layers in the layer view. (and their associated fileTree) 2) Provide an extra pane to display CNB specific metadata.

here is a sample mock up of what we are looking to accomplish: https://gist.github.com/dwillist/c6a7772ec988f1046db17931a63097c1

Would love to give you a bit more of an idea how our project works, how we use dive & how we could expose our metadata to the UX. Would you be available to zoom some time this week?

wagoodman commented 3 years ago

@dwillist no problem. I'd be down for a zoom chat, feel free to reach out on linkedin or a twitter DM