When it comes to building Docker containers, you should always strive for smaller images. Images that share layers and are smaller in size are quicker to transfer and deploy. But how do you keep the size under control when every RUN statement creates a new layer, and you need intermediate artefacts before the image is ready? You may have noticed that most of the Dockerfiles in the wild have some w
![3 simple tricks for smaller Docker images](https://cdn-ak-scissors.b.st-hatena.com/image/square/9e533bf2ca7d1032c6ed33cfdb93c44cc1e3d906/height=288;version=1;width=512/https%3A%2F%2Fstatic.learnk8s.io%2Fd49b5ba599c101b229843985a0584cbd.png)