Difference between docker build and kaniko executor when copying symlinks #1382
Labels
area/symlinks
categorized
differs-from-docker
interesting
kind/bug
Something isn't working
kind/question
Further information is requested
ok-to-close?
possible-dupe
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
works-with-docker
Actual behavior
When having a symlink in the context dir that point to a file to a subfolder and adding it with COPY, docker build copy the content of the file but kaniko executor copy the symlink instead.
Expected behavior
Kaniko executor will copy the content of the file as docker build does.
To Reproduce
Steps to reproduce the behavior:
Given the following environment:
and the following dockerfile:
Here is the docker build output
And now using Kaniko:
Additional Information
you need a file that is a symlink to another one (see reproduce part above)
gcr.io/kaniko-project/executor:debug-v0.23.0
(id: 390df83ff1ab)The text was updated successfully, but these errors were encountered: