diff --git a/jib-core/src/main/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilder.java b/jib-core/src/main/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilder.java index 505228f739..aa6f300ef7 100644 --- a/jib-core/src/main/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilder.java +++ b/jib-core/src/main/java/com/google/cloud/tools/jib/image/ReproducibleLayerBuilder.java @@ -113,7 +113,7 @@ public UnwrittenLayer build() { TarStreamBuilder tarStreamBuilder = new TarStreamBuilder(); for (TarArchiveEntry entry : sortedFilesystemEntries) { // Strips out all non-reproducible elements from tar archive entries. - entry.setModTime(0); + entry.setModTime(1); entry.setGroupId(0); entry.setUserId(0); entry.setUserName("");