Issue 291 pointed out that symlink "../proc/self/mounts" in the fedora image wasn't being extracted properly and kaniko was erroring out. This is because the file path wasn't absolute so kaniko wasn't recognizing it as a whitelisted path. With this change, we first resolve a path to it's absolute path before checking the whitelist. |
||
|---|---|---|
| .. | ||
| bucket_util.go | ||
| command_util.go | ||
| command_util_test.go | ||
| fs_util.go | ||
| fs_util_test.go | ||
| image_util.go | ||
| image_util_test.go | ||
| tar_util.go | ||
| tar_util_test.go | ||
| util.go | ||