Fun with Multi-stage Dockerfiles
Since Docker 17.05, there’s been a feature called multi-stage Dockerfiles. It lets you split your Dockerfile into stages, each with its own environment to perform a set of steps. In a single-stage Dockerfile, the environment you build in is the same environment you…