I want multiple inheritance for dockerfiles. You know take an image with Rust and one with Xyce and a vsc devcontainer and just smash them together.

Follow

@pepijndevos
You kinda can with `FROM <image> AS <name>` and `COPY --from=<name>`

@kc8apf @pepijndevos This is such a great feature when building images. It's not really smashing them together though, it allows you to use multiple base images for the construction of a new one.

A crude approach to smashing together would be using your suggestion to copy over / and guessing it will work 🤣

Sign in to participate in the conversation
mastodon.cloud

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.