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
sbt docker:publishLocal always generates files with deterministic file creation and modification timestamps.
Actual behaviour
Now build time is used as files creation&modification timestamps in the final docker image.
Why?
Seems like a good practice to force deterministic builds (JIB faq)
It is very likely that this enables consistent layers caching between different docker build environments as it this thread by @sideeffffect
Expected behaviour
sbt docker:publishLocal
always generates files with deterministic file creation and modification timestamps.Actual behaviour
Now build time is used as files creation&modification timestamps in the final docker image.
Why?
Seems like a good practice to force deterministic builds (JIB faq)
It is very likely that this enables consistent layers caching between different docker build environments as it this thread by @sideeffffect
Links
JIB source code
explaining-docker-image-ids
how-to-digest-a-docker-image
The text was updated successfully, but these errors were encountered: