From 22baac2358114c80f07bb8d530e8a3d1c371c247 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 13 Feb 2017 15:14:22 -0200 Subject: [PATCH] Enable experimental squash --- image/auto_build.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/auto_build.rb b/image/auto_build.rb index 6349aa2..f7502c3 100644 --- a/image/auto_build.rb +++ b/image/auto_build.rb @@ -26,7 +26,7 @@ def run(command) end def build(image) - lines = run("cd #{image[:name]} && docker build . --no-cache --tag #{image[:tag]} #{image[:squash] ? '#--squash' : ''}") + lines = run("cd #{image[:name]} && docker build . --no-cache --tag #{image[:tag]} #{image[:squash] ? '--squash' : ''}") raise "Error building the image for #{image[:name]}: #{lines[-1]}" if lines[-1] =~ /successfully built/ end -- 2.25.1