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
Dockerfile_dockerignore_relative.dockerignore
Dockerfile_git_buildcontext
Dockerfile_hardlink_base
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
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
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
Dockerfile_test_copy_bucket
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
Dockerfile_test_copy_same_file_many_times
Dockerfile_test_copy_symlink create correct link across Multistage builds 2020-03-07 11:28:16 -08:00
Dockerfile_test_daemons
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
Dockerfile_test_from_multistage_capital Fix #519 capital letter in stage names 2020-01-20 15:57:05 -08:00
Dockerfile_test_hardlink
Dockerfile_test_ignore
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
Dockerfile_test_onbuild
Dockerfile_test_parent_dir_perms
Dockerfile_test_registry
Dockerfile_test_replaced_hardlinks
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
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
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
Dockerfile_test_volume_4
Dockerfile_test_whitelist
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