lib/dockly/build_cache/docker.rb in dockly-1.5.2 vs lib/dockly/build_cache/docker.rb in dockly-1.5.3
- old
+ new
@@ -25,10 +25,10 @@
ensure_present! :output_dir
if cache = pull_from_s3(version)
debug "inserting to #{output_directory}"
path = File.expand_path(cache.path)
path_parent = File.dirname(path)
- tar_flags = keep_old_files ? '-xfk' : 'xf'
+ tar_flags = keep_old_files ? '-xkf' : 'xf'
container = ::Docker::Container.create(
'Image' => image.id,
'Cmd' => ['/bin/bash', '-lc', [
"mkdir -p #{File.dirname(output_directory)}",
'&&',