3 simple tricks for smaller Docker images
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?
https://learnk8s.io/blog/smaller-docker-images?fbclid=IwAR2sm4G9BYEsFHCFdwXIv-lzmjB36GegfZocD-yZMoEy8fxHyJn0XSdjRYU