Kaniko remove file copied from an other image if a link (sym or hard) is created on this or a file copied in folder #2314
Labels
area/filesystems
For all bugs related to kaniko container filesystems (mounting issues etc)
area/multi-stage builds
issues related to kaniko multi-stage builds
area/symlinks
categorized
cmd/copy
differs-from-docker
issue/missing-files
kind/bug
Something isn't working
priority/p0
Highest priority. Break user flow. We are actively looking at delivering it.
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
works-with-docker
Actual behavior
When we copy file from another image:
and create a link (sym or hard) on this:
the folder
/kaniko
is removed.Same behavior if create a file in
/kaniko
folder:Expected behavior
Buildkit compatibility. With buildkit link exists and
/kaniko/
is keep.To Reproduce
Create a image with this Dockerfile:
Error happend when we use docker image
gcr.io/kaniko-project/executor:v1.9.1
Additional Information
Workaround:
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: