kaniko/pkg/executor
Tinjo Schöni 5f4e2f1366
Fix .dockerignore for build context copies in later stages (#1447)
* Extend .dockerignore integration test with copies in later stages

.dockerignore should continue to apply when copying from the build context in later stages, but it currently doesn't

* Replace excluded global with passed along FileContext struct

This new FileContext struct allows much cleaner handling of context specific file exclusions.
The global excluded file state is no longer needed.

Additionally this also fixes the issue where excluded files aren't being applied for build context copies in later build stages.
2020-10-08 12:47:14 -07:00
..
build.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
build_test.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
composite_cache_test.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
copy_multistage_test.go rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
fakes.go add deletion logic 2020-06-06 02:05:45 -07:00
push.go Fix permissions on cache when --no-push is set (#1445) 2020-10-02 10:11:12 -07:00
push_test.go add tests (#1426) 2020-09-30 16:46:22 -07:00