kaniko/pkg/commands
Kraev Sergei eea12bd025
Fix multistage caching with COPY --from (#2559)
* Removed block on use --cache-copy-layers with multistage builds
* Removed using digest in composite key with command COPY --from
* COPY --from command uses src as file context (only changed files will be reason for change hash)
* ARG and ENV changed before COPY dont change composite key
* Add and fix some tests
* Caching work same as caching in docker buildx

Co-authored-by: Sergei Kraev <skraev@tradingview.com>
2023-06-16 10:56:05 -07:00
..
add.go Upgrade docker (#2440) 2023-03-23 20:34:25 -04:00
arg.go Fix resolving arguments over multi-stage build (#1928) 2022-02-10 09:22:21 -08:00
base_command.go Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -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 Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
commands.go Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
copy.go Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
copy_test.go Upgrade docker (#2440) 2023-03-23 20:34:25 -04: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 Fix Integration tests (#2425) 2023-03-21 12:30:54 -04: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 Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
expose.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04: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 Fix Integration tests (#2425) 2023-03-21 12:30:54 -04: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 multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
run_marker.go Fix multistage caching with COPY --from (#2559) 2023-06-16 10:56:05 -07:00
run_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
shell.go Update linter and fix errors 2019-12-21 12:27:14 -08:00
shell_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
stopsignal.go fix: Refactor `LayersMap` to correct old strange code behavior (#2066) 2022-05-17 20:30:58 -04:00
stopsignal_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
user.go fix: getUIDandGID is able to resolve non-existing users and groups (#2106) 2022-07-12 10:21:37 -04:00
user_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
volume.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
volume_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00
workdir.go fix(WORKDIR): use the config.User for the new dir permissions (#2269) 2022-09-28 21:18:40 -04:00
workdir_test.go Fix Integration tests (#2425) 2023-03-21 12:30:54 -04:00