Fixes https://github.com/GoogleContainerTools/kaniko/issues/1598. This commit puts `context.ExcludesFile` before `os.Lstat` to avoid the `COPY` command error due to missing but ignored files. |
||
|---|---|---|
| .. | ||
| buildcontext | ||
| cache | ||
| commands | ||
| config | ||
| constants | ||
| creds | ||
| dockerfile | ||
| executor | ||
| fakes | ||
| filesystem | ||
| image | ||
| logging | ||
| mocks/go-containerregistry/mockv1 | ||
| snapshot | ||
| timing | ||
| util | ||
| version | ||