projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d288199
)
Let's try busting the cache
author
Rafael dos Santos Silva
<xfalcox@gmail.com>
Thu, 2 Feb 2017 02:23:49 +0000
(
00:23
-0200)
committer
Rafael dos Santos Silva
<xfalcox@gmail.com>
Thu, 2 Feb 2017 02:23:49 +0000
(
00:23
-0200)
image/auto_build.rb
patch
|
blob
|
blame
|
history
diff --git
a/image/auto_build.rb
b/image/auto_build.rb
index 1132aa539a7024bfd39940fb3d664c7de41853f6..5e1e2d65e5c2980f0f14a6c509deb53889f35d02 100644
(file)
--- 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