Introduce proper reuse of intermediary stages in the multi-stage build. Signed-off-by: Michael Keller <github@ike.ch>