kaniko/pkg/commands
dlorenc 063663e17b
Skip unpacking the base FS if there are no run commands (or only cached ones). (#440)
This is the final part of an optimization that I've been refactoring towards for awhile.
If the Dockerfile consists of no RUN commands, or cached RUN commands, followed by metadata-only
operations, we can skip downloading and unpacking the base image.
2018-11-12 12:51:45 -06:00
..
add.go Fix caching for multi-step builds. (#441) 2018-11-09 12:28:18 -06:00
arg.go parse arg commands at the top of dockerfiles (#404) 2018-11-06 15:27:09 -08:00
base_command.go Skip unpacking the base FS if there are no run commands (or only cached ones). (#440) 2018-11-12 12:51:45 -06:00
cmd.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
cmd_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
commands.go Skip unpacking the base FS if there are no run commands (or only cached ones). (#440) 2018-11-12 12:51:45 -06:00
copy.go Fix caching for multi-step builds. (#441) 2018-11-09 12:28:18 -06:00
entrypoint.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
entrypoint_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
env.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
env_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
expose.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
expose_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
healthcheck.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
label.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
label_test.go Update deps 2018-07-31 16:23:23 -07:00
onbuild.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
onbuild_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
run.go Skip unpacking the base FS if there are no run commands (or only cached ones). (#440) 2018-11-12 12:51:45 -06:00
run_test.go Add test for setting root user explicitly 2018-10-18 17:46:43 +09:00
shell.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
shell_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
stopsignal.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
stopsignal_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
user.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
user_test.go Rework cache key generation a bit. (#375) 2018-10-03 16:16:12 -05:00
volume.go Refactor the build loop. (#385) 2018-10-09 12:15:17 -05:00
volume_test.go Refactor the build loop. (#385) 2018-10-09 12:15:17 -05:00
workdir.go Fix caching for multi-step builds. (#441) 2018-11-09 12:28:18 -06:00
workdir_test.go Update deps 2018-07-31 16:23:23 -07:00