Previous stages are ephemeral, they are just there to help us achieve final stage. Final stage can import (copy) things (e.g. our built binary) from previous stages, and then, previous stages with all their contents will be gone. (actually they are also cached for next builds, but it will not be a part of final stage)