Use multi-stage builds | Docker Documentation - 0 views
-
Maintaining two Dockerfiles is not ideal.
-
This is failure-prone and hard to maintain. It’s easy to insert another command and forget to continue the line using the \ character
-
create a container from it to copy the artifact out
- ...4 more annotations...