kaniko/integration/dockerfiles
Andreas Fleig 0d925dd651
Don't write whiteout files to directories that were replaced with files or links (#2590)
If a non-empty directory gets replaced with something other than a
directory (e.g. file or symlink), the files in that directory also get
deleted. However, there should not be any whiteout files for them in the
layer. If there were, the resulting tar file would not be extractable.

Fixes #2308
2023-06-22 10:45:47 -07:00
..
1097 Add secondary group impersonation w/ !cgo support 2020-03-28 22:01:20 -07:00
Dockerfile_dockerignore_relative Fix integration tests for #776 2019-10-04 10:31:40 +02:00
Dockerfile_dockerignore_relative.dockerignore Fix integration tests for #776 2019-10-04 10:31:40 +02:00
Dockerfile_git_buildcontext Improve git buildcontext integration test 2019-05-23 16:12:20 +02:00
Dockerfile_hardlink_base Extract filesystem in order rather than in reverse 2018-08-29 15:44:38 -07:00
Dockerfile_onbuild_base Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_registry_mirror image: fix registry mirror setup 2020-02-16 11:41:51 +01:00
Dockerfile_relative_copy fix #1092 TestRelativePaths 2020-02-29 21:16:07 -08:00
Dockerfile_test_add fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_add_404 fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_add_dest_symlink_dir Add new test for copy to symlink which should fail 2019-11-15 11:23:04 -08:00
Dockerfile_test_add_url_with_arg Add integration test for add url with arg 2019-11-15 14:44:39 -08:00
Dockerfile_test_arg_blank_with_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_from_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_from_single_quotes Issue #439 add additional tests for quotes 2019-10-25 16:08:57 -07:00
Dockerfile_test_arg_multi Fix arg handling for multi-stage images in COPY instructions. (#621) 2019-03-22 12:24:43 -05:00
Dockerfile_test_arg_multi_empty_val Fix quote strip behavior for ARG values 2019-11-08 14:28:31 -08:00
Dockerfile_test_arg_multi_with_quotes Issue #439 double quotes in ARG value 2019-10-24 16:30:25 -07:00
Dockerfile_test_arg_secret fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_arg_two_level Added integration test for multi level argument 2020-05-24 13:04:31 +02:00
Dockerfile_test_cache fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_cache_copy Adding missing integration test file 2019-11-04 09:30:58 -08:00
Dockerfile_test_cache_copy_oci Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
Dockerfile_test_cache_install fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_cache_install_oci fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_cache_oci fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_cache_perm Fix file mode bug (#618) 2019-03-18 13:28:24 -05:00
Dockerfile_test_cache_perm_oci Provide `--cache-repo` as OCI image layout path (#2250) 2022-09-28 10:19:02 -04:00
Dockerfile_test_cmd Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_complex_substitution Don't generate cache key, if not caching builds. 2020-04-13 16:50:13 -06:00
Dockerfile_test_copy Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_bucket Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_chown_nonexisting_user fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_copy_reproducible Don't copy same files twice in copy integration tests (#273) 2018-08-03 10:01:29 -07:00
Dockerfile_test_copy_same_file_many_times Always snapshot files in COPY and RUN commands 2018-08-23 18:23:39 -07:00
Dockerfile_test_copy_symlink create correct link across Multistage builds 2020-03-07 11:28:16 -08:00
Dockerfile_test_daemons Deflake the daemon test (#532) 2019-01-17 15:30:08 -05:00
Dockerfile_test_dangling_symlink Ignore the target of dangling symlinks. 2020-04-13 16:26:19 -06:00
Dockerfile_test_deleted_file_cached GetFSFromLayers 2020-01-17 13:36:23 -08:00
Dockerfile_test_dockerignore Fix .dockerignore for build context copies in later stages (#1447) 2020-10-08 12:47:14 -07:00
Dockerfile_test_env fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_expose fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_extract_fs fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_extraction Update test for link and file extraction to non-empty dir 2018-10-13 08:04:27 +09:00
Dockerfile_test_from_multistage_capital Fix #519 capital letter in stage names 2020-01-20 15:57:05 -08:00
Dockerfile_test_hardlink fixed digests for integration test 2018-11-19 15:26:02 -05:00
Dockerfile_test_ignore Add --ignore flag 2018-10-12 12:09:59 -07:00
Dockerfile_test_issue_519 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_647 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_684 Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
Dockerfile_test_issue_704 add integration tests from GH issues 2020-02-27 11:04:55 -08:00
Dockerfile_test_issue_1039 Resolve filepaths before scanning for changes 2020-02-20 09:45:44 -08:00
Dockerfile_test_issue_1837 refactor: Make CLI argument names consistent (#2084) 2022-08-22 09:10:11 -04:00
Dockerfile_test_issue_2049 fix: Add test for issue #2049 (#2114) 2022-06-01 06:55:36 -04:00
Dockerfile_test_issue_2066 fix: Regression test for #2066 (#2096) 2022-05-18 06:35:35 -04:00
Dockerfile_test_label fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_maintainer Handle `MAINTAINERS` when passing `--single-snapshot`. 2020-04-13 15:54:27 -06:00
Dockerfile_test_meta_arg Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_metadata Run integration tests in Travis CI 2020-01-19 22:33:04 -08:00
Dockerfile_test_multistage fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_multistage_args_issue_1911 Fix resolving arguments over multi-stage build (#1928) 2022-02-10 09:22:21 -08:00
Dockerfile_test_mv_add Extract filesystem in order rather than in reverse 2018-08-29 15:44:38 -07:00
Dockerfile_test_onbuild Integration test refactoring (#126) 2018-05-15 13:42:35 -07:00
Dockerfile_test_parent_dir_perms Fix parent directory permissions (#619) 2019-03-19 12:40:15 -05:00
Dockerfile_test_registry Fully qualify images in dockerfile tests (#257) 2018-07-25 17:56:17 -07:00
Dockerfile_test_replaced_hardlinks Enable overwriting of links (solves #351) (#360) 2018-09-26 07:14:35 -07:00
Dockerfile_test_replaced_symlinks Fix #1067 - image no longer available 2020-02-20 08:40:38 -08:00
Dockerfile_test_run fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_run_2 fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_run_new fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_run_redo fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_scratch Resolve env replacement for FROM command 2018-06-04 11:51:33 -07:00
Dockerfile_test_snapshotter_ignorelist Fix snapshotter ignore list; do not attempt to delete whiteouts of ignored paths (#1652) 2021-06-04 10:07:24 -07:00
Dockerfile_test_target Add --target flag for multistage builds (#255) 2018-07-30 09:43:23 -07:00
Dockerfile_test_user fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_user_home fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_user_nonexisting fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_user_run fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_volume fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_volume_2 fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_volume_3 Fix a bug in volume handling for multi-stage images. (#554) 2019-02-07 09:01:49 -06:00
Dockerfile_test_volume_4 This fixes a bug in the interaction between volumes in base images (#555) 2019-02-08 14:40:37 -06:00
Dockerfile_test_whitelist Only return filepath.SkipDir for directories 2018-11-19 15:56:11 -05:00
Dockerfile_test_workdir fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
Dockerfile_test_workdir_with_user fix: use debian buster to fix tests using no longer supported stretch which had broken apt-get urls (#2485) 2023-04-27 22:05:37 -04:00
TestReplaceFolderWithFile Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00
TestReplaceFolderWithLink Don't write whiteout files to directories that were replaced with files or links (#2590) 2023-06-22 10:45:47 -07:00