-
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.
[JENKINS-27608] option to squash image commits
Workflow | Original: JNJira [ 161820 ] | New: JNJira + In-Review [ 180851 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |