From 7ead2337f8fe771deaef2157ad0c4eeb51b744e7 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Thu, 2 Feb 2017 00:23:49 -0200 Subject: [PATCH] Let's try busting the cache --- 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 1132aa5..5e1e2d6 100644 --- a/image/auto_build.rb +++ b/image/auto_build.rb @@ -29,7 +29,7 @@ def run(command) end def build(image) - lines = run("cd #{image[:name]} && docker build . --tag #{image[:tag] + VERSION} #{image[:squash] ? '#--squash' : ''}") + lines = run("cd #{image[:name]} && docker build . --no-cache --tag #{image[:tag] + VERSION} #{image[:squash] ? '#--squash' : ''}") raise "Error building the image for #{image[:name]}: #{lines[-1]}" if lines[-1] =~ /successfully built/ run("docker tag #{image[:tag] + VERSION} #{image[:tag]}release") end -- 2.25.1