I found a 69MiB moe.log file (which contains logs since 2014-06-28 till 2014-11-18), 79MiB .git repo, .DS_Store files, vim temp files (end with ~), etc. in the final docker image. All of them are useless for a production-ready docker image.
Besides, once built, building tools are no longer useful, so I suggest you use two-steps build that copy the generated binary files into another image.
I found a 69MiB
moe.log
file (which contains logs since 2014-06-28 till 2014-11-18), 79MiB.git
repo,.DS_Store
files, vim temp files (end with~
), etc. in the final docker image. All of them are useless for a production-ready docker image.Besides, once built, building tools are no longer useful, so I suggest you use two-steps build that copy the generated binary files into another image.