Set the right RAILS_ENV for other base images.

Set the right RAILS_ENV for other base images.

Follow up to c2c7a3d8f3aad26b0b1aea30eb5bf475d910ebc2.

diff --git a/image/discourse_bench/Dockerfile b/image/discourse_bench/Dockerfile
index 432b59d..5b5d50e 100644
--- a/image/discourse_bench/Dockerfile
+++ b/image/discourse_bench/Dockerfile
@@ -1,6 +1,7 @@
 # NAME:     discourse/discourse_bench
 # VERSION:  1.4.0
 FROM discourse/discourse_test:1.4.0
+ENV RAILS_ENV profile
 
 #LABEL maintainer="Gerhard Schlager <mail@gerhard-schlager.at>"
 
diff --git a/image/discourse_dev/Dockerfile b/image/discourse_dev/Dockerfile
index c8bffb0..bde2245 100644
--- a/image/discourse_dev/Dockerfile
+++ b/image/discourse_dev/Dockerfile
@@ -1,6 +1,7 @@
 # NAME:     discourse/discourse_dev
 # VERSION:  release
 FROM discourse/base:release
+ENV RAILS_ENV development
 
 #LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""
 
diff --git a/image/discourse_test/Dockerfile b/image/discourse_test/Dockerfile
index c9dcc9c..3ad4f16 100644
--- a/image/discourse_test/Dockerfile
+++ b/image/discourse_test/Dockerfile
@@ -2,6 +2,7 @@
 # VERSION:  release
 ARG tag=build
 FROM discourse/base:$tag
+ENV RAILS_ENV test
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"

GitHub sha: b9175b87

2 Likes