Set the right RAILS_ENV for other base images.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Fri, 3 May 2019 04:52:31 +0000 (12:52 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Fri, 3 May 2019 04:52:31 +0000 (12:52 +0800)
Follow up to c2c7a3d8f3aad26b0b1aea30eb5bf475d910ebc2.

image/discourse_bench/Dockerfile
image/discourse_dev/Dockerfile
image/discourse_test/Dockerfile

index 432b59d738ef91905e522056dbd45e9cd3644bd5..5b5d50e9cc43a729c76f0e78b3e68976b51f9df3 100644 (file)
@@ -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>"
 
index c8bffb028fa794debca1d19fda59b314e501bc57..bde2245575574ea0b45f88e6353816366d57fba2 100644 (file)
@@ -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\""
 
index c9dcc9c2466ab6b2b13efa5e54d5091e7199c01b..3ad4f1659d682a32fe75e4162bb697d34e0478ce 100644 (file)
@@ -2,6 +2,7 @@
 # VERSION:  release
 ARG tag=build
 FROM discourse/base:$tag
+ENV RAILS_ENV test
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"