Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`sync` system call triggers a full page cache sync which may not always work, especially in kubernetes environment where it is easy to be interfered by others. I have seen several cases where a broken nfs mount is blocking kaniko from doing its job. With `syncfs`, it only writes cache back to disk for the current filesystem that is used by kaniko which is supposed to be more reliable.
- Loading branch information