I am building one large docker image and I am experiencing a somewhat weird behavior that I would like to address.
So we are talking about a large image (~2.5GB) and when I built it with cache it is being built at ~1 min. So far so good, but the problem that I am facing is that this cached image is always creating a new artifact with a new sha256. I found out that for that issue the --reproducible flag exists and it does exactly that. When i built the image with the --reproducible flag the build time increases from ~1 min to ~7 mins. That's a huge overhead imo and i would like to figure that out. Why is this behavior and why does it add so much overhead in the build process.
Thank you in advance,
Christos Roussidis