kaniko/pkg
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
..
buildcontext gofmt 2020-08-13 14:03:38 -07:00
cache Use current platform when fetching image in warmer 2020-08-07 15:52:15 +02:00
commands Stop caching COPY layers (#1408) 2020-09-30 17:18:50 -07:00
config add boilerplate 2020-08-13 14:44:07 -07:00
constants add another redo snapshotter 2020-06-04 22:02:13 -07: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 Merge pull request #1260 from ljakimczuk/master 2020-06-04 13:24:34 -07:00
executor Stop caching COPY layers (#1408) 2020-09-30 17:18:50 -07:00
fakes refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
filesystem ADD GCB benchmark code 2020-06-05 12:46:47 -07:00
image image: add test 2020-06-06 10:31:42 +02:00
logging Add timestamp to logs 2020-04-23 13:40:47 +02:00
mocks/go-containerregistry/mockv1 rename mock pkg for lint 2020-01-17 14:59:14 -08:00
snapshot Merge pull request #1350 from hlubek/bugfix-reproducible-whiteout 2020-07-28 14:57:28 -07:00
timing Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
util Add func to append to ignorelist. 2020-08-26 08:30:42 -05:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00