2 ms·
Actually using that caching in a way that benefits you is, well, very hard. Especially since a lot of the time you have a lot of stuff included in order to star
by p_l 5y ago
Actually using that caching in a way that benefits you is, well, very hard. Especially since a lot of the time you have a lot of stuff included in order to start the final program, and every step above the base image will result in different layer that will be separate and probably not cacheable
Also, Alpine images are used for being, well, small in general - there's not much to exploit on such image, nor is there going to be a lot of unplanned-for data, and especially it will speed up deployment when you upload a new image.
It takes special, dedicated CI/CD work to have common base images to exploit sharing of layers properly.