From: Sam Date: Wed, 8 Apr 2015 06:13:43 +0000 (+1000) Subject: add fast switch to build X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a79a06049041ca2461bb9e7f9811174f9810408b;p=discourse_docker.git add fast switch to build --- diff --git a/image/build.rb b/image/build.rb index 25c4ab9..401c089 100644 --- 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)