-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
you can't use `RUN rm /tmp` to cleanup image from unnecessary files created by previous commands in Dockerfile. This results in complex Dockerfile or one-line RUN commands.
using docker export | docker import you can "squash" the image layers into a single one-layer docker image, making Dockerfile simpler and preserving image size.