kaniko/pkg
Christie Wilson 7f64037a8c Separate snapshotting of parent dirs from files
To make the logic a bit more clear, when snapshotting files, the
parent dirs are now snapshotted in a different loop from the files we
are actually trying to snapshot. Unfortunately this loop is nearly
duplicated but I did managed to group some fo the related logic
together:
- A function to check if the file should be snapshotted (e.g. isn't
whitelisted, etc.)
- Created a `Tar` type to handle some of the logic around tar-ing, e.g.
tracking hardlinks and stat-ing files before adding them

One side effect of this is that now when snapshoting the file system,
files will be stat-ed twice.
2018-08-24 16:34:59 -07:00
..
buildcontext Feature/contextsources (#195) 2018-07-06 06:24:50 -07:00
commands Always snapshot files in COPY and RUN commands 2018-08-23 18:23:39 -07:00
constants Set default home value (#281) 2018-08-10 12:58:07 -07:00
dockerfile Fix bug in SaveStage function for multistage builds 2018-08-20 15:10:17 -07:00
executor Always snapshot files in COPY and RUN commands 2018-08-23 18:23:39 -07:00
image dep update go-containerregistry 2018-06-03 00:59:34 +00:00
options Refactor command line arguments and the executor 2018-08-23 13:30:36 -07:00
snapshot Separate snapshotting of parent dirs from files 2018-08-24 16:34:59 -07:00
util Separate snapshotting of parent dirs from files 2018-08-24 16:34:59 -07:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00