From 313418ec942e5cc36ad20e230cd736d3d6323fab Mon Sep 17 00:00:00 2001 From: Martin Bonato Date: Mon, 1 Oct 2018 22:08:31 +0200 Subject: [PATCH] https://github.com/GoogleContainerTools/jib/issues/1079 --- .../google/cloud/tools/jib/image/ReproducibleLayerBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 505228f7393..aa6f300ef78 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("");