kaniko/pkg
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
..
buildcontext Merge pull request #1115 from JordanGoasdoue/allow-build-context-from-local-targz 2020-03-17 15:24:10 -07:00
cache Support for private registries in the cache warmer 2020-01-15 15:35:42 +01:00
commands copy: unit test for chown 2020-03-17 15:19:00 +01:00
config Merge pull request #1075 from greut/label-flag 2020-03-12 13:47:01 -07:00
constants set log format using a flag 2020-02-07 00:05:59 +02:00
creds Refactor our credential fetching to only get k8s credentials if we are on k8s. (#522) 2019-01-11 11:36:43 -07:00
dockerfile Fix #519 capital letter in stage names 2020-01-20 15:57:05 -08:00
executor Merge pull request #1130 from Vlatombe/set_image_platform 2020-03-25 10:10:41 -07:00
fakes refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
filesystem create correct link across Multistage builds 2020-03-07 11:28:16 -08:00
image Update linter and fix errors 2019-12-21 12:27:14 -08:00
logging More idiomatic logging config 2020-02-07 16:13:03 -08:00
mocks/go-containerregistry/mockv1 rename mock pkg for lint 2020-01-17 14:59:14 -08:00
snapshot Always add parent directories of files to snapshots. 2020-03-29 18:25:37 +02:00
timing Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
util Always add parent directories of files to snapshots. 2020-03-29 18:25:37 +02:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00