Merged intermediate images and reduced permissions