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:
bd293c3
)
add fast switch to build
author
Sam
<sam.saffron@gmail.com>
Wed, 8 Apr 2015 06:13:43 +0000
(16:13 +1000)
committer
Sam
<sam.saffron@gmail.com>
Wed, 8 Apr 2015 06:13:43 +0000
(16:13 +1000)
image/build.rb
patch
|
blob
|
blame
|
history
diff --git
a/image/build.rb
b/image/build.rb
index 25c4ab9234b61c13f82ae6d1c47e1cfbf5d6bd66..401c08922a18735b9b595541d8883c14b4c77663 100644
(file)
--- a/
image/build.rb
+++ b/
image/build.rb
@@
-8,6
+8,7
@@
$docker_squash = "https://github.com/jwilder/docker-squash/releases/download/v0.
$base_image = "samsaffron/discourse_base:#{$version}"
$image = "samsaffron/discourse:#{$version}"
+$fast_switch= "samsaffron/discourse_fast_switch:#{$version}"
if ENV["USER"] != "root"
STDERR.puts "Build script must be ran as root due to docker-squash"
@@
-48,5
+49,4
@@
end
build("base",$base_image,true)
build("discourse",$image,false)
-
-
+build("discourse_fast_switch",$image,false)