Cache will be invalidated if there is an instruction in Dockerfile that doesn't cause any changes in file system #2179
Labels
area/caching
For all bugs related to cache issues
kind/bug
Something isn't working
priority/p2
High impact feature/bug. Will get a lot of users happy
Actual behavior
RUN echo helloworld
) (cache of any layers after that instruction will be invalidate in the next build)Expected behavior
To Reproduce
RUN echo helloworld
in DockerfileAdditional Information
--cache-copy-layers
set totrue
--snapshotMode
flag fromredo
tofull
does not show the issuebuild no. 1
build no. 2
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: