You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a Next.js 13 project and this is the second time I've experienced this (since enough time passed that I forgot the original issue).
Figured I'd log this as a discussion to help anyone else who might unknowingly experience this issue.
Basically, kaniko has a --reproducible option that clears the timestamps from all files so that every Docker build will be reproducible and consistent.
Is there any specific rationale that the cache fails if files have a timestamp of 1970? (i.e. was this an intentional design decision to provide a way to break updates on specific pages?)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'm building a Next.js 13 project and this is the second time I've experienced this (since enough time passed that I forgot the original issue).
Figured I'd log this as a discussion to help anyone else who might unknowingly experience this issue.
Basically, kaniko has a
--reproducible
option that clears the timestamps from all files so that every Docker build will be reproducible and consistent.Is there any specific rationale that the cache fails if files have a timestamp of 1970? (i.e. was this an intentional design decision to provide a way to break updates on specific pages?)
Additional information
Beta Was this translation helpful? Give feedback.
All reactions