add fast switch to build
authorSam <sam.saffron@gmail.com>
Wed, 8 Apr 2015 06:13:43 +0000 (16:13 +1000)
committerSam <sam.saffron@gmail.com>
Wed, 8 Apr 2015 06:13:43 +0000 (16:13 +1000)
image/build.rb

index 25c4ab9234b61c13f82ae6d1c47e1cfbf5d6bd66..401c08922a18735b9b595541d8883c14b4c77663 100644 (file)
@@ -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)