kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

Document how "COPY --link" is suported (docker/dockerfile:1.4)

Open finkr opened this issue 2 years ago • 1 comments

Hello,

Could you document whether COPY --link (from docker/dockerfile:1.4) is supported and/or it's roadmap.

With --link the layer the previous build generated is reused and merged on top of the new layers. This also means you can easily rebase your images when the base images receive updates, without having to execute the whole build again.

Thanks

Franklin

finkr avatar Aug 04 '22 22:08 finkr

It is not (not even syntactically), see https://github.com/GoogleContainerTools/kaniko/issues/1568#issuecomment-1113512645 (search for 1.4 there).

guillaume-d avatar Aug 07 '22 10:08 guillaume-d