Reducing layer count improves Docker performance, and is best-practice. Avoid packing & sending .git tree into Docker build system. Clean up apt archives to reduce image size.