<p class="wp-block-paragraph">Looking at the upstream documentation of <a href="https://docs.docker.com/build/building/multi-stage/">Multi-stage builds</a> there are some examples but this is missing:</p> <p class="wp-block-paragraph">Ok, I mean, the example by itself is useless, but “it works”. Try:</p> <p class="wp-block-paragraph"><code>docker build -f Dockerfile -t copiedfrom-rust:v0.1 .</code></p> <p class="wp-block-paragraph">Then:</p> <p class="wp-block-paragraph"><code>docker run -it copiedfrom-rust:v0.1 sh</code></p> <h2 class="wp-block-heading">Real use case scenario</h2> <p class="wp-block-paragraph">Lets […]