First, what a lovely tool! Exactly what I was looking for to help communicate to my colleagues what my new and seemingly much more complicated Dockerfile is doing.
I'm wondering if it might make sense to have a command line arg that allows specific nodes on the graph to be suppressed? I have a "logs" stage that collects various output files from all over my build, and the dockerfilegraph layout looks much clearer when that is removed.
It might also make sense to automatically suppress the scratch container. Unlike with a "real" base, multiple stages that independently start from scratch are unlikely to actually have anything to do with each other, so I feel like there could be a special case to hide scratch. Alternatively, each instance of scratch could get its own node, so that scratch -> src, scratch -> logs, scratch -> conf still clearly show where they originate from but they're not coupled visually or in terms of layout.
First, what a lovely tool! Exactly what I was looking for to help communicate to my colleagues what my new and seemingly much more complicated Dockerfile is doing.
I'm wondering if it might make sense to have a command line arg that allows specific nodes on the graph to be suppressed? I have a "logs" stage that collects various output files from all over my build, and the dockerfilegraph layout looks much clearer when that is removed.
It might also make sense to automatically suppress the
scratchcontainer. Unlike with a "real" base, multiple stages that independently start from scratch are unlikely to actually have anything to do with each other, so I feel like there could be a special case to hidescratch. Alternatively, each instance ofscratchcould get its own node, so thatscratch -> src,scratch -> logs,scratch -> confstill clearly show where they originate from but they're not coupled visually or in terms of layout.