README makes it sound like only COPY and RUN layers can be cached, doesn't seem to be the case #2737
Labels
area/caching
For all bugs related to cache issues
area/cli
bugs related to kaniko CLI
area/documentation
For all bugs related to documentation
kind/friction
priority/p2
High impact feature/bug. Will get a lot of users happy
The README currently says
That makes it sound like only
RUN
andCOPY
layers can be cached, but when I try putting e.g.ENV
orADD
statements before theRUN
andCOPY
ones, the cache is consulted for the subsequent layers anyway. Whereas ifENV
andADD
truly weren't cached at all, the cache would stop working, because as the README points out elsewhere:So IMHO there should be more details about how the cache interacts with non-
COPY
/non-RUN
layers.Related issue (regarding the same sentence, but a different aspect of it): #1940
The text was updated successfully, but these errors were encountered: