kaniko/pkg/snapshot
Matthew Dawson 619fc5e59b Make container layers captured using FS snapshots reproducible
When a Dockerfile command requires using the TakeSnapshotFS function,
the resulting layer has a random ordering of files.  This causes the
layer to have a non-deterministic hash defeating the reproducible flag.
Issue #710 appears to document this issue as well.

To fix, always sort the list of files to be added in scanFullFilesystem.
This avoids trying to sort the file list during execution, and takes
almost no time to complete.
2019-07-11 21:58:42 -04:00
..
layered_map.go Fix parent directory permissions (#619) 2019-03-19 12:40:15 -05:00
layered_map_test.go Stop storing a separate cache hash. (#560) 2019-02-14 12:24:43 -06:00
snapshot.go Make container layers captured using FS snapshots reproducible 2019-07-11 21:58:42 -04:00
snapshot_test.go Make container layers captured using FS snapshots reproducible 2019-07-11 21:58:42 -04:00