Kaniko increased build time with --reproducible flag

184 views
Skip to first unread message

Χρήστος Ρουσσίδης

unread,
Mar 2, 2022, 7:05:20 AM3/2/22
to kaniko-users
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

Foras Dlke

unread,
Oct 16, 2023, 8:59:49 AM10/16/23
to kaniko-users
Reply all
Reply to author
Forward
0 new messages