Holy crap, hadn't heard of this. Sounds like it's merged to master and coming down the pipe for 17.05. <a href="https://docs.docker.com/engine/userguide/eng-image/multistage-build/" rel="nofollow">https://docs.docker.com/engine/userguide/eng-image/multistag...</a><p>This solves a major pain point for many people working w/ dockerfiles.
For Go (as it is statically linked) you can use FROM SCRATCH. It's faster, smaller, easier.
<a href="https://blog.docker.com/2016/09/docker-golang/" rel="nofollow">https://blog.docker.com/2016/09/docker-golang/</a>