Flatter docker image by cutting RUN steps