kaniko/pkg/util
Gilbert Gilb's e5585fded8 Always add parent directories of files to snapshots.
During a snapshot, when a file changed and not its parent directories,
the parent directories weren't added to the layer. This is inconsistent
with Docker's behavior which always add parent directories to the layer.
In some edge-cases, it could lead to problems with docker considering
that parent directories where owned by root in forthcoming layers
although they shouldn't (see #1163).

Also, Docker seems to be POSIX compliant regarding the name of
directories in the archive, which always have a slash appended. This
commit also fixes this.

Fixes #1163
2020-03-29 18:25:37 +02:00
..
.editorconfig revert back to old 0.17.1 behavior 2020-03-06 23:48:31 -08:00
azureblob_util.go Apply suggestions from code review 2019-10-21 10:19:32 +08:00
azureblob_util_test.go Add more test case for azureblob_util.go 2019-10-14 13:55:03 +08:00
bucket_util.go Add missing tests for bucket util (#565) 2019-02-19 09:05:23 -06:00
bucket_util_test.go Add missing tests for bucket util (#565) 2019-02-19 09:05:23 -06:00
command_util.go copy: unit test for chown 2020-03-17 15:19:00 +01:00
command_util_test.go Add support to --chown flag to ADD command 2020-03-14 16:24:40 +02:00
fs_util.go small perf optimizing. Only remove whiteout path if it needs to be included in the tar 2020-03-18 00:43:55 -07:00
fs_util_test.go more tests similar to docker cp 2020-03-09 15:54:35 -07:00
image_util.go image: fix registry mirror setup 2020-02-16 11:41:51 +01:00
image_util_test.go Merge remote-tracking branch 'origin/master' into registry-mirror 2019-12-22 11:10:15 +01:00
tar_util.go Always add parent directories of files to snapshots. 2020-03-29 18:25:37 +02:00
tar_util_test.go Separate snapshotting of parent dirs from files 2018-08-24 16:34:59 -07:00
util.go set log format using a flag 2020-02-07 00:05:59 +02:00