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:
7e364d4
)
Enable experimental squash
author
Rafael dos Santos Silva
<xfalcox@gmail.com>
Mon, 13 Feb 2017 17:14:22 +0000
(15:14 -0200)
committer
Rafael dos Santos Silva
<xfalcox@gmail.com>
Mon, 13 Feb 2017 17:14:22 +0000
(15:14 -0200)
image/auto_build.rb
patch
|
blob
|
blame
|
history
diff --git
a/image/auto_build.rb
b/image/auto_build.rb
index 6349aa2170e485791721f4ac2adadec8089a70d9..f7502c3179e2cb8948a6639b938b4d9ee05444bc 100644
(file)
--- 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