Replies: 1 comment 2 replies
-
@jlorieau what kind of information from the xray command would you like to use? Do you mind sharing a multi-stage build you'd like to have? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for sharing this great tool!
I discovered and played around with docker-slim today, so my following suggestion may already be available. For my workflow, and possibly the workflows of others, it would be helpful if the xray subcommand could be used to guide multi-staged docker builds. The json output is quite impressive, but I've found it a bit difficult to parse into a series of
COPY --from=base
commands that I could use to permanently slim down images. I realize thatdocker-slim build
circumvents this need, but it would nevertheless be helpful to use this tool to permanently slim down images through multi-staged builds.Beta Was this translation helpful? Give feedback.
All reactions