kaniko/pkg/commands
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
..
add.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
arg.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
base_command.go better shdTakeSnapshot 2020-06-06 19:49:34 -07:00
cache.go fmt 2020-04-30 17:07:18 -07:00
cache_test.go remove read succesS 2020-04-30 15:18:39 -07:00
cmd.go Fix bug with docker compatibility 2020-01-13 21:18:54 -08:00
cmd_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
commands.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
copy.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
copy_test.go Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
entrypoint.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
entrypoint_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
env.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
env_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
expose.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
expose_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
fake_commands.go add unit tests for caching run and copy 2019-12-10 09:29:10 -08:00
healthcheck.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
label.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
label_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
onbuild.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
onbuild_test.go Fixing lint issues. Adding tests for COPY command. Fixing issue with copying files out of snapshots 2019-09-16 10:48:31 -07:00
run.go fix gofmt 2020-08-13 13:59:58 -07:00
run_marker.go new implementation for run 2020-08-13 13:43:07 -07:00
run_test.go fix switching to non existent workdir 2020-05-07 18:59:01 -07:00
shell.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
shell_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
stopsignal.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
stopsignal_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
user.go Rebase over 1105 2020-03-04 14:16:24 -08:00
user_test.go fixup! run: user LookupId 2020-03-05 16:49:13 +01:00
volume.go rename whitelist to ignorelist 2020-06-02 15:56:27 -07:00
volume_test.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
workdir.go feat: ensure relative WorkingDir work 2020-05-04 15:48:39 +02:00
workdir_test.go feat: ensure relative WorkingDir work 2020-05-04 15:48:39 +02:00