Problems with --reproducible
(modified timestamp)
#2304
Labels
feature/reproducible-digest
has-repro
kind/bug
Something isn't working
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
priority/p2
High impact feature/bug. Will get a lot of users happy
Actual behavior
Using a minimal Dockerfile and that add an empty file and flag
--reproducible
results in different build hashes when built multiple times.Expected behavior
The same hash for the docker images.
To Reproduce
Steps to reproduce the behavior:
Additional Information
Please provide either the Dockerfile you're trying to build or one that can reproduce this error.
gcr.io/kaniko-project/executor latest 14c90714063c 4 weeks ago 63.1MB
EDIT 1:
Running
container-diff
does not yield any differencesTriage Notes for the Maintainers
EDIT 2:
I used
diffoscope
to inspect the file system layers of the docker containers and found the following differences:It looks like they only differ in the modification time, which I guess should not happen when the
--reproducible
flag is passed, right?--cache
flagThe text was updated successfully, but these errors were encountered: