kaniko/pkg/commands
Ian Kerins 1240333657
Stop caching COPY layers (#1408)
Cached COPY layers are expensive in that they both need to be retrieved
over the network and occupy space in the layer cache.

They are unnecessary in that we already have all resources needed to
execute the COPY locally, and doing so is a trivial file-system
operation.  This is in contrast to RUN layers, which can do
arbitrary and unbounded work.

The end result is that cached COPY commands were more expensive when
cached, not less.  Remove them.

Resolves #1357
2020-09-30 17:18:50 -07:00
..
add.go flip the flag 2020-05-01 23:41:06 -07:00
arg.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
base_command.go better shdTakeSnapshot 2020-06-06 19:49:34 -07:00
cache.go fmt 2020-04-30 17:07:18 -07:00
cache_test.go remove read succesS 2020-04-30 15:18:39 -07:00
cmd.go Fix bug with docker compatibility 2020-01-13 21:18:54 -08:00
cmd_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
commands.go Stop caching COPY layers (#1408) 2020-09-30 17:18:50 -07:00
copy.go Stop caching COPY layers (#1408) 2020-09-30 17:18:50 -07:00
copy_test.go Stop caching COPY layers (#1408) 2020-09-30 17:18:50 -07:00
entrypoint.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
entrypoint_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
env.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
env_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
expose.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
expose_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
fake_commands.go add unit tests for caching run and copy 2019-12-10 09:29:10 -08:00
healthcheck.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
label.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
label_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
onbuild.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
onbuild_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
run.go fix gofmt 2020-08-13 13:59:58 -07:00
run_marker.go new implementation for run 2020-08-13 13:43:07 -07:00
run_test.go fix switching to non existent workdir 2020-05-07 18:59:01 -07:00
shell.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
shell_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
stopsignal.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
stopsignal_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
user.go Rebase over 1105 2020-03-04 14:16:24 -08:00
user_test.go fixup! run: user LookupId 2020-03-05 16:49:13 +01:00
volume.go rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
volume_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
workdir.go feat: ensure relative WorkingDir work 2020-05-04 15:48:39 +02:00
workdir_test.go feat: ensure relative WorkingDir work 2020-05-04 15:48:39 +02:00