I actually prefer the approach taken in https://medium.com/travis-on-docker/multi-stage-docker-builds-for-creating-tiny-go-images-e0e1867efe5a with the explicit FROM ... AS instead to create an alias over the --from=0 which is rather opaque.
I actually prefer the approach taken in https://medium.com/travis-on-docker/multi-stage-docker-builds-for-creating-tiny-go-images-e0e1867efe5a with the explicit FROM ... AS instead to create an alias over the --from=0 which is rather opaque.